-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
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
Fixed word boundary patterns: ... #100
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
cf7871d
to
c6d8b3a
Compare
@googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
c6d8b3a
to
ba9f187
Compare
Pull Request Test Coverage Report for Build 281
💛 - Coveralls |
Sorry, I had to @ignore a large test I don't know how to fix. |
d33b8c3
to
57a57c0
Compare
RE2/J tries to implement RE2's syntax, which specifies that |
I still do not understand why such PR making life easier for non-US devs is refused : this just makes transitions to re2j easier in many more use-cases, by reducing differences with jdk's Regexp. |
I was clear as to why I refused the PR: because it caused RE2J to differ from RE2 in behavior. It has nothing to do with making life more difficult for non-US devs. The question should be whether RE2J should try sticking to RE2 syntax and semantics, or whether it should favor similarity to java.util.regex when possible. I'm inclined to think that RE2J should behave more like java.util.regex, since that's what Java developers will most likely be comparing it to. This PR probably breaks tests because the tests are derived from Go's regexp package, which implements RE2's ASCII-only word boundaries. I'll see what is necessary to fix the tests. |
Codecov Report
@@ Coverage Diff @@
## master #100 +/- ##
==========================================
- Coverage 89.25% 89.02% -0.23%
==========================================
Files 19 19
Lines 3025 3026 +1
Branches 607 607
==========================================
- Hits 2700 2694 -6
- Misses 187 190 +3
- Partials 138 142 +4
Continue to review full report at Codecov.
|
Hi James, many thanks, |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
…gexp is unicode compliant
e49d00b
to
200d892
Compare
... they were ascii-only while java.util.regexp is unicode compliant