function _biblio_get_regex_patterns in Bibliography Module 6.2
Same name and namespace in other branches
- 6 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()
Return value
array
2 calls to _biblio_get_regex_patterns()
- theme_biblio_format_authors in includes/
biblio_theme.inc - theme_biblio_page_number in includes/
biblio_theme.inc - Creates HTML string for a biblio page number or range.
File
- includes/
biblio_theme.inc, line 479
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();
}
}