Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

fix(cpp): fix cpp language integer suffix #156

Merged
merged 3 commits into from
Aug 19, 2021
Merged

Conversation

ladyrick
Copy link
Contributor

@ladyrick ladyrick commented Aug 19, 2021

The old config /(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/ also match some wrong suffix: lll, llLL, LLl and so on.
So I change it to /((l|L|ll|LL)?(u|U)?)|((u|U)?(l|L|ll|LL)?)/

Update: change to /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/

the old config `/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/` also match some wrong suffix: `lll`, `llLL`, `LLl` and so on.
fix(cpp): fix cpp language integer suffix
@hediet
Copy link
Member

hediet commented Aug 19, 2021

Thank you for your contribution!

Can you please look into the failing CI?

@hediet hediet merged commit 4967230 into microsoft:main Aug 19, 2021
@hediet hediet added this to the August 2021 milestone Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants