Do you use special chains or seperate FX for Hi-Hats tr. Then the overheads (or room mics) should suffice. I know this is a serious thread, but I just spat a whole mouthful of Mocca-Java over my keyboard.
Active5 years ago
In java, what's the difference between
Pshemo'd+'
and 'd++'
?I know ++ is a possessive quantifier, but what's the difference in matching the numeric string? What string can match 'd+'
but can't with 'd++'
?Possessive quantifier seems to be significant with quantifier '.*'
only. Is it true?100k1717 gold badges143143 silver badges201201 bronze badges
user2313900user2313900
2 Answers
Possessive quantifiers will not back off, even if some backing off is required for the overall match.
So, for example, the regex
d++0
can never match any input, because d++
will match all digits, including the 0
needed to match the last symbol of the regex. ericksonerickson
230k4545 gold badges340340 silver badges434434 bronze badges
d+ Means:
d
means a digit (Character in the range 0-9), and +
means 1 or more times. So, d+
is 1 or more digits.d++ Means from Quantifiers
This is called the possessive quantifiers and they always eat the entire input string, trying once (and only once) for a match. Unlike the greedy quantifiers, possessive quantifiers never back off, even if doing so would allow the overall match to succeed.
Sumit SinghSumit Singh20.5k88 gold badges6565 silver badges9696 bronze badges