mod_perl s//g

2001-08-14 Thread Rasoul Hajikhani

Are there any traps that I should be aware of when using s//g? I was
reading the online mod_perl docs and could not find anything to that
effect. But I do recall working with Perrin (correct me if I am wrong
Perrin) that there were some issues with using global tag in
substitutions.
-r



Re: mod_perl s//g

2001-08-14 Thread Perrin Harkins

On Tue, 14 Aug 2001, Rasoul Hajikhani wrote:

 Are there any traps that I should be aware of when using s//g? I was
 reading the online mod_perl docs and could not find anything to that
 effect. But I do recall working with Perrin (correct me if I am wrong
 Perrin) that there were some issues with using global tag in
 substitutions.

No, it's the /o (compile) flag that has issues.  It's in the guide:
http://perl.apache.org/guide/perl.html#Compiled_Regular_Expressions
- Perrin