in reply to Re: You don't always have to use regexes
in thread You don't always have to use regexes
Semantics are the real issue here. The regex is saying "Do you have a string that matches the beginning of the string, then t, r, u, e and then the end of the string", and the compare is saying "Is the string the word 'true'?"
"Is this the word I want" is the real intent.
xoxo,
Andy
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: You don't always have to use regexes
by ysth (Canon) on Feb 25, 2005 at 04:01 UTC |