Skip to content

TaggedPattern: Fix NPE when using optional maching group#11

Open
jobayle wants to merge 1 commit intokickstarter:masterfrom
jobayle:fix/tagged-pattern-NPE
Open

TaggedPattern: Fix NPE when using optional maching group#11
jobayle wants to merge 1 commit intokickstarter:masterfrom
jobayle:fix/tagged-pattern-NPE

Conversation

@jobayle
Copy link

@jobayle jobayle commented Apr 12, 2019

Using an optional matching group in a template regular expression throws a NullPointerException because matcher.group(groupName) returns null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant