ocehb: (Default)
ocehb ([personal profile] ocehb) wrote 2011-03-16 06:31 am (UTC)

почему сложная? один регексп.
конечно, $str =~ m#$re# && exists $hash{$1} попроще для понимания, но хотелось поглядеть на возможности регулярного выражения. но последнее выражение все равно медленне.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org