Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Overly complex default regex in SuppressWarnings format #6453
Assume you have a line with 50 spaces and then an
With greedy qualifier like
With the possessive quantifier backtracking is prevented, so once matched the match is atomic, so with
Possessive quantifiers are a kind of fail-fast measure if you know that what comes after the quantifier cannot be matched inside the quantifier ever. In this case, the end of string can never occur within a sequence of spaces.
What would not work is