function _biblio_get_regex_patterns in Bibliography Module 6
Same name and namespace in other branches
- 6.2 includes/biblio_theme.inc \_biblio_get_regex_patterns()
- 7 includes/biblio_theme.inc \_biblio_get_regex_patterns()
- 7.2 includes/biblio.theme.inc \_biblio_get_regex_patterns()
2 calls to _biblio_get_regex_patterns()
File
- ./
biblio_theme.inc, line 419
Code
function _biblio_get_regex_patterns() {
// Checks if PCRE is compiled with UTF-8 and Unicode support
if (!@preg_match('/\\pL/u', 'a')) {
// probably a broken PCRE library
return _biblio_get_latin1_regex();
}
else {
// Unicode safe filter for the value
return _biblio_get_utf8_regex();
}
}