Fix nested type constructors raising error #4744

Merged
merged 1 commit into from Nov 16, 2016

Conversation

Projects
None yet
2 participants
@JakubValtar
Contributor

JakubValtar commented Nov 16, 2016

Replace non-capturing groups by positive lookahead and lookbehind, because they don't consume the source String and allow for first and last group to overlap when two constructors are directly nested.

Fixes #4652

Fix nested type constructors raising error
Replace non-capturing groups by positive lookahead and lookbehind,
because they don't consume the source String and allow for first and
last group to overlap when two constructors are directly nested.

Fixes #4652

@benfry benfry merged commit 741335b into processing:master Nov 16, 2016

JakubValtar added a commit to JakubValtar/processing that referenced this pull request Nov 24, 2016

Fix hex color regex
Same problem as with type constructors #4744

Fixes #4752

@JakubValtar JakubValtar referenced this pull request Nov 24, 2016

Merged

Fix hex color regex #4753

@JakubValtar JakubValtar deleted the JakubValtar:fix-type-constructors branch Nov 24, 2016

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