You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When submitting PHP regex backslashes are being removed with stripslashes. This renders regex unusable. $re="/\d+/"; $result = preg_match($re, $string, $matches, PREG_OFFSET_CAPTURE);`
The \ is stripped and the expression is not properly evaluated.
The text was updated successfully, but these errors were encountered:
When submitting PHP regex backslashes are being removed with stripslashes. This renders regex unusable.
$re="/\d+/";
$result = preg_match($re, $string, $matches, PREG_OFFSET_CAPTURE);`The \ is stripped and the expression is not properly evaluated.
The text was updated successfully, but these errors were encountered: