Re: [opensuse] OT perl regex question
- From: Anders Johansson <ajohansson@xxxxxxx>
- Date: Wed, 20 Aug 2008 14:58:25 +0200
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
example:
$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"
Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] OT perl regex question
- From: Per Jessen
- Re: [opensuse] OT perl regex question
- References:
- [opensuse] OT perl regex question
- From: Per Jessen
- [opensuse] OT perl regex question
- Prev by Date: Re: [opensuse] v4l2 recording with mencoder, has anyone succeeded.. ever?
- Next by Date: Re: [opensuse] OT perl regex question
- Previous by thread: [opensuse] OT perl regex question
- Next by thread: Re: [opensuse] OT perl regex question
- Index(es):
Relevant Pages
|