in reply to RegEx Problem?

Watch out for that regex: it is probably not going to do what you want it to do in this form.

For starters the '*' quantifier at the beginning of the regex is rather odd: you should put something in front of it, now it says 'zero or more of nothing'.

And 'I*' means 'zero or more of I'.

Also watch out for the greediness of the '*' quantifier.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re: Re: RegEx Problem?
by OverlordQ (Hermit) on Feb 25, 2003 at 19:20 UTC
    I kinda mislead what I was looking for with the asterisks, basically I was using the 'windows' version of the asterisk, if that makes sense.