Page 1 of 1

REX in web script, and "$"

Posted: Tue Feb 16, 1999 11:42 am
by Thunderstone


I'm having a problem with REX.

<$string = "Thanks. Help This Poor Soul. Thanks.">
<rex "Thanks\.$" $string>

It returns nothing.

Of course, if I do
<rex "Thanks" $string>

Results come up with a match. I've tried several
different examples each using the "$" (end of line)
matching operator but to no avail.

Any tips?



____________________________________________________________
Better than free email: shared calendar, files, and more...
Get your 'What-U-Seek Briefcase' at http://www.whatuseek.com







REX in web script, and "$"

Posted: Tue Feb 16, 1999 12:00 pm
by Thunderstone



$ equates to LF or CRLF (\x0a or \0d\0a) and not end of string.

try the NULL anchor : <rex "Thanks\.=>>=" $string>