Re: Speed comparison of regex versus index, lc, and / /i
- From: Jürgen Exner <jurgenex@xxxxxxxxxxx>
- Date: Sat, 31 May 2008 16:06:21 GMT
Jürgen Exner <jurgenex@xxxxxxxxxxx> wrote:
Sure, instead of
$foo eq 'bar'
you can use
$foo =~ m/^\Q$foo\E$/
Oooops, make that
$foo =~ m/^\Qbar\E$/
of course.
jue
.
- References:
- Speed comparison of regex versus index, lc, and / /i
- From: Ben Bullock
- Re: Speed comparison of regex versus index, lc, and / /i
- From: xhoster
- Re: Speed comparison of regex versus index, lc, and / /i
- From: Ben Bullock
- Re: Speed comparison of regex versus index, lc, and / /i
- From: A. Sinan Unur
- Re: Speed comparison of regex versus index, lc, and / /i
- From: Ben Bullock
- Re: Speed comparison of regex versus index, lc, and / /i
- From: A. Sinan Unur
- Re: Speed comparison of regex versus index, lc, and / /i
- From: Jürgen Exner
- Speed comparison of regex versus index, lc, and / /i
- Prev by Date: Re: Speed comparison of regex versus index, lc, and / /i
- Next by Date: OT: Thank you for the link!
- Previous by thread: Re: Speed comparison of regex versus index, lc, and / /i
- Next by thread: Pop3 Email - Perl
- Index(es):
Relevant Pages
|
|