"Evertjan." <> wrote:
>No, that !! is not part of j[ava]script regex
>and those strange leftover )s?
OOP didn't specify what language, this being an ASP group, I assumed
VBScript. Maybe the trailing semicolon should have meant something.
I looked at the MSDN documentation for REs, and didn't see anything
about delimiting them. They use the same example over and over, which
is a SUB getting an argument and simply using that argument for a
delimiter. No discussion of enclosing the pattern in quotes or using
slashes that I could find.
I did wonder about alternate delimiters. That works in Perl and other
Unix-like contexts, but I guess not here. IMHO, it would simplify some
things if it did.
The leftover parens were a mistake.
--
Tim Slattery
MS MVP(DTS)
http://members.cox.net/slatteryt