if(/^TO\|WORK(GI_|A_|_)([^|]*)\|.*/)
Thanks!
What does this PERL statement mean in english?
This is a regular expression and if you really want to use them it is best to read up on it
http://www.perl.com/doc/manual/html/pod/...
if(/^TO\|WORK(GI_|A_|_)([^|]*)\|.*/)
Match a string that starts with "TO|WORK" and is followed by either "GI_", "A_", or "_" then zero or more characters that do not contain a '|' character then a '|' character followed by anything else.
So "TO|WORKGI_SOMETHING|ELSE" would match this Regular Expression.
Reply:nothing
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment