Skip to content

Add ** to match until in addons - #4353

Merged
danmar merged 2 commits into
cppcheck-opensource:mainfrom
pfultz2:addon-match-until
Aug 16, 2022
Merged

Add ** to match until in addons#4353
danmar merged 2 commits into
cppcheck-opensource:mainfrom
pfultz2:addon-match-until

Conversation

@pfultz2

@pfultz2 pfultz2 commented Aug 11, 2022

Copy link
Copy Markdown
Collaborator

Doing match(tok, "**;") will match until the semicolon.

This also fixes the incorrect slicing for !! match as well.

@danmar
danmar merged commit a8c1cdc into cppcheck-opensource:main Aug 16, 2022
@pfultz2
pfultz2 deleted the addon-match-until branch August 16, 2022 17:23
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.

2 participants