We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The trim attribute is ignored for regex search operations. Code similar to the regular search operation should be added for regex:
$trim = $operation->getElementsByTagName('search')->item(0)->getAttribute('trim'); if (!$trim || $trim == 'true') { $search = trim($search); }
Otherwise a regex with whitespace is very likely to fail.
The text was updated successfully, but these errors were encountered:
so u add soem regex to account for white space
s+ i think
Sorry, something went wrong.
Not the code. The XML file.
https://github.com/opencart/opencart/issues/2925
5b3dc34
No branches or pull requests
The trim attribute is ignored for regex search operations. Code similar to the regular search operation should be added for regex:
Otherwise a regex with whitespace is very likely to fail.
The text was updated successfully, but these errors were encountered: