Skip to content

Detect invalid unicode class specification#74

Merged
sjamesr merged 1 commit intogoogle:masterfrom
sjamesr:fix_issue_72
Oct 23, 2018
Merged

Detect invalid unicode class specification#74
sjamesr merged 1 commit intogoogle:masterfrom
sjamesr:fix_issue_72

Conversation

@sjamesr
Copy link
Copy Markdown
Contributor

@sjamesr sjamesr commented Sep 26, 2018

Previously, the parser would unconditionally attempt to read the unicode
class spec after a \p or \P, even if the pattern is truncated and
invalid.

Fixes issue #72.

@coveralls
Copy link
Copy Markdown

coveralls commented Sep 26, 2018

Pull Request Test Coverage Report for Build 225

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.07%) to 93.966%

Files with Coverage Reduction New Missed Lines %
/home/travis/build/google/re2j/java/com/google/re2j/Parser.java 2 95.38%
Totals Coverage Status
Change from base Build 222: 0.07%
Covered Lines: 2943
Relevant Lines: 3132

💛 - Coveralls

Previously, the parser would unconditionally attempt to read the unicode
class spec after a \p or \P, even if the pattern is truncated and
invalid.

Fixes issue google#72.
@sjamesr sjamesr merged commit f6c10c7 into google:master Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants