> Not that I have seen per se. There is a site that has some pre-built > regexs but Im sorry I cant remember the URL. Your best bet is to go buy > the Oreilly book "Mastering Regular Expressions" It is pretty much the > bible of regex and well worth the investment.
KDE 3.1 has an awesome regular expression GUI editor, good for people just learning how to create them. One thing to watch out for: In the validator, Perl regular expressions are used. Normally, when you make a Perl regular expressions you have to use a delimiter, which is typically '/' However, in the validator definition file, you can exclude the delimiter as the validator automatically adds it for you. However, this means that you must escape and instance of '/' in your regular expression. I have filed a bug report about this in bugzilla because the validator should automatically escape any delimiter used in the definition file so that this "ghost" delimiter does not have to be accounted for. In short, I mean The following would be accepted: <var-name>mask</var-name> <var-value>^http://[^ ]*$</var-value> instead of the current syntax <var-name>mask</var-name> <var-value>^http:\/\/[^ ]*$</var-value> Since behind the scenes the regexp becomes /^http:\/\/[^ ]*$/ I rest my case. Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "I used to herd dairy cows. Now I herd linux users. Apart from the isolation, I think I preferred the cows. They were better in conversation, easier to milk, and if they annoyed me enough, I could shoot them and eat them." - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]