Home > comp > gb.pcre > regexp > noutf8check 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Regexp.NoUTF8Check (gb.pcre)
Const NoUTF8Check As Integer = 8192

When the UTF8 option is set, the validity of the pattern as a UTF-8 string is automatically checked.

If an invalid UTF-8 sequence of bytes is found, the Compile method returns an error. If you already know that your pattern is valid, and you want to skip this check for performance reasons, you can set the RegExp.NoUTF8Check option. When it is set, the effect of passing an invalid UTF-8 string as a pattern is undefined. It may cause your program to crash.

Note that this option can also be passed to Exec, to suppress the UTF-8 validity checking of subject strings.