Closed (fixed)
Project:
Feeds Tamper
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2012 at 17:01 UTC
Updated:
20 Oct 2012 at 10:21 UTC
Regular expression works in regexpal.com tool but doesn't validate in the regex plugin (Screenshot attached).
Maybe i'm doing something wrong? I've tried the regular expression with and without forward slash format like:
/(\s-\s)[a-z/\s]*\1[^\s][smlx]*/
(\s-\s)[a-z/\s]*\1[^\s][smlx]*
Men's Long-Sleeve Raglan Baseball Jersey - ATHLETIC HTHR/BLACK - 2XL
Men's 4 oz. Double Dry Performance T-Shirt - BLACK - 2XL
Men's 4.1 oz. Short-Sleeve Performance T-Shirt - BLACK - 2XL
Men's Long-Sleeve Raglan Baseball Jersey
Men's 4 oz. Double Dry Performance T-Shirt
Men's 4.1 oz. Short-Sleeve Performance T-Shirt
I've also tried the trim plugin several times and gave up on that as well.
| Comment | File | Size | Author |
|---|---|---|---|
| regex-feeds-tamper.png | 176.25 KB | chrisjlee |
Comments
Comment #1
CGarces commentedSame error with
/<font\b[^>]*>(.*?)</font>/I'm using 7.x-1.0-beta3
Comment #2
twistor commented#1 In the error in the image, you are missing the prefix and suffix /your regex here/.
#2, you need to escape the / in
</front>, or use a different prefix and suffix:|<font\b[^>]*>(.*?)</font>|Comment #3
twistor commented