Re: [opensuse] OT perl regex question

On Wednesday 20 August 2008 14:40:50 Per Jessen wrote:
Can anyone epxlain to me what the 'o' modifier achieves (or not) in this

$copy =~ s/[[:graph:]]+//go;

It means that the regexp engine will precompile the regular expression, and
not recompile it every time the line is executed. Described in "man perlop"

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx