If you have multiple groups in a regex it only takes the first group, then drops the rest.

For example if you want to get a number and strip the comma's in something like:

$100,000

And you use a regex of /\$(.*),(.*)/ in a single field (I know it's now elegant regex)

You'll only get "100"

I've included a small patch to allow concat's of multiple groups in the regex's I've also tested it and have it running on a production site.

I also wrote a bit of Doc on how to set up a basic feed with screenies and this patch. It's at http://geektravelling.blogspot.com/2011/04/using-regex-on-drupal-rss-fee...

Let me know if you have any questions. Thanks for this great module. You rock!!

CommentFileSizeAuthor
FeedsREGEXParser.inc_.patch739 bytesmrtech-dupe

Comments

twistor’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (works as designed)