in reply to Re^2: AND and OR on Regular Expressions
in thread AND and OR on Regular Expressions
There's no reason to use '.*?' instead of '.*' in your examplesl.
It matters if the pattern contain captures.
I must admit I approached my post backwards. I started with /pat1/ && /pat2/ and gave the functionally equivalent pattern. (Well, /.*?/ should actually be /(?s:.)*?/)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: AND and OR on Regular Expressions
by JavaFan (Canon) on Aug 25, 2009 at 20:41 UTC | |
by ikegami (Patriarch) on Aug 25, 2009 at 21:20 UTC | |
by JavaFan (Canon) on Aug 25, 2009 at 23:31 UTC | |
by ikegami (Patriarch) on Aug 26, 2009 at 00:50 UTC | |
by JavaFan (Canon) on Aug 26, 2009 at 07:36 UTC | |
|