Sara wrote:

[snip]
: my $sql = qq(
:     SELECT CAT_TITLE,
:     FROM categories
:     WHERE CAT_TITLE REGEXP '^C_and_C\\+\\+/[a-zA-Z|_]+\$'
: );
[snip]

    Why is there an escape character in front of the $ anchor?
There isn't one in any of the examples in the linked content.
Try this. It avoids the annoying escapes with character classes
and better highlights that stray escape '\'.

 '^C_and_C[+][+]/[a-zA-Z|_]+$'


Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to