Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add the multiline Regex flag to allow 'contains', 'like', 'startsWith' & 'endsWith' queries to work with multi-line strings. #221

Closed
wants to merge 2 commits into from

Conversation

jfrumar
Copy link

@jfrumar jfrumar commented Dec 31, 2014

@yf-hk
Copy link
Contributor

yf-hk commented Jan 21, 2015

Adding m flag is not correct. Compares to PHP, Javascript does not have built-in dot match all functionality. But you can use /[^]*/ or /[\S\s]*/ instead. multi-line search means ^ and $ should also match line beginnings and endings, so that's a different thing. Please also check my comment here #220

@particlebanana
Copy link
Contributor

Done in #308

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants