| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Regexp
Regexp.PCRE
Regexp.PCRE._Regexp_PCRE

# Method Regexp.PCRE._Regexp_PCRE.`()()

Method `()

  `GOOD `()(string pattern, void|int options, void|object table)`

Description

  Convenience function to create a suitable PCRE Regexp object; will create a StudiedWidestring from the arguments.

  That means the result will be able to handle widestrings, and will produce fast matchings by studying the pattern, but the widestring wrapping will on the other hand add overhead.

  If you need a faster regexp and doesn't use widestring, create a Regexp.PCRE.Studied instead.

  Widestring support will not be used if the linked libpcre lacks UTF8 support. This can be tested with checking that the Regexp.PCRE.Widestring class exist.