On Sun, 2009-06-28 at 09:01 +0100, rich...@buzzhost.co.uk wrote: > On Sun, 2009-06-28 at 11:23 +0930, Cory Hawkless wrote: > > Ahh, I have played with regexbuddy but when copy and pasting the SA > rules in it does strange things that are inconsistent with the result > i get from SA, These recent shopxx rules have been good examples but I > cant get regexbuddy to reproduce the expected results? > Unfortunately regular expression syntax isn't standard - there are at least two common C libraries floating around and then there are the variations used by awk, bash, expr, grep, Java, Perl, ......
Some simple regex expressions should give the same results everywhere but anything that's a little more complex probably won't. For instance, grep uses a separate option to set case insensitivity while Perl uses the /../i suffix. So, just a thought - I've never used RegexBuddy so have no idea how good it is or if you can configure its default syntax, but do you always tell RegexBuddy that you're using Perl regexes? Martin