in reply to
Re^2: A tidier regex ?
in thread
A tidier regex ?
\w does match underscore.
Comment on
Re^3: A tidier regex ?
Replies are listed 'Best First'.
Re^4: A tidier regex ?
by
Anonymous Monk
on Sep 14, 2010 at 14:58 UTC
It allows me to put CDC_ABC as a valid option, which I wish to reject. When I was looking for CDC_ABC_ABC for example.
[reply]
Re^5: A tidier regex ?
by
ikegami
(Patriarch)
on Sep 14, 2010 at 17:21 UTC
I specified the purpose of each of my solutions, and it wasn't validation in either case.
[reply]
In Section
Seekers of Perl Wisdom