Changeset View
Changeset View
Standalone View
Standalone View
src/parser/PhutilBugtraqParser.php
Context not available. | |||||
$captured_text = $capture['text']; | $captured_text = $capture['text']; | ||||
$captured_offset = $capture['at']; | $captured_offset = $capture['at']; | ||||
if (strlen($select_regexp)) { | if (@strlen($select_regexp)) { | ||||
$selections = null; | $selections = null; | ||||
preg_match_all( | preg_match_all( | ||||
$select_regexp, | $select_regexp, | ||||
Context not available. | |||||
$corpus, | $corpus, | ||||
$new_text, | $new_text, | ||||
$bug['at'], | $bug['at'], | ||||
strlen($bug['text'])); | @strlen($bug['text'])); | ||||
} | } | ||||
return $corpus; | return $corpus; | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0