
13 Apr
2006
13 Apr
'06
5:08 p.m.
Jean-Sebastien Vachon wrote:
On Thu, 13 Apr 2006 10:59:54 +0100, John Maddock wrote:
((((|(^\\\\[^\\;:\'\"<>]+\\[^\\]+\\)))))(((([^\\;:\'\"\<\>]+)\\)*)*)((([^\\;:\'\"<>]*))(\.?([^\\:;\'\"<>]+)))?) Is the (^([a-z]:\\?) part supposed to match "c:" ? If so it won't because of the literal "?".
There are several possible candidates at http://regexlib.com BTW as well.
John.
In the (^([a-z]:\\?) I want to make the last \ optionnal not to have a literal ?.
Should I change this to: "(^([a-z]:\\\?)" ?
One more slash ought to do it: "(^([a-z]:\\\\?)". Think of it this way: write the pattern as you would in perl. Then double every backslash. -- Eric Niebler Boost Consulting www.boost-consulting.com