Hey Sally,

Do you have "Learning Perl"?
Chapter 7. Regular Expressions
7.5 Substitutions
"If you want the replacement to operate on all possible matches
instead of just the first match, append a g to the substitution"

Monday, June 25, 2001, 6:21:08 AM, you wrote:

S> Cheers, that's all a book had to say (and I've got loads).

snip

S> The /g does a global match.  In other words it finds all occurences of the
S> pattern.

snip

>> when evaluating strings what exactly does /g do at the end of a lot
>> of evaluation expressions eg:

snip



-- 
[EMAIL PROTECTED]
Using The Bat! eMail v1.53d
Windows NT 5.0.2195 (Service Pack 1)
Why are you wasting time reading taglines?

Reply via email to