MCP Problems - URGENT
Derek Winkler
dwinkler at ALGORITHMICS.COM
Mon Jun 28 15:09:29 IST 2004
> >
> >
> > That's great, I will change my cf files to reflect this. While we
> > are on the subject I have two quick questions:-
> > 1) Are there any other characters I should be careful with? 2)
> > How can I get the system to look for '|' and '@', each time I put
> > them in the cf file the MCP checks stop working.
> > Thanks for everyone's help on this
> > Jez
>
> you need to precede them with a "\", as with the period.
> While the @ is not
> strictly a regex character perl will attempt to interpret it
> as a start of
> an array variable, likewise if a $ is encountered, and it's
> not the last
> character in the regular expression, perl will attempt to
> interpret it as
> the beginning of a variable. The pipe "|" is used in a regex
> to mean OR like
> /me|mine|yours/ will match "me" or "mine" or "yours".
>
> Here are a couple of links to pretty good online tutorials
> for perl regex
>
> http://iis1.cps.unizar.es/Oreilly/perl/perlnut/ch04_06.htm
> http://tlc.perlarchive.com/articles/perl/pm0001_perlretut.shtml
>
> the first gives good examples of "quoting" or escaping
> reserved characters.
>
>
The tool is great for testing regular expressions,
http://weitz.de/regex-coach/
This email and any files transmitted with it are confidential and
proprietary to Algorithmics Incorporated and its affiliates
("Algorithmics"). If received in error, use is prohibited. Please destroy,
and notify sender. Sender does not waive confidentiality or privilege.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free. Algorithmics does not accept liability for any errors or
omissions. Any commitment intended to bind Algorithmics must be reduced to
writing and signed by an authorized signatory.
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list