posh.regex | group.nonbacktracking

"aaaaa" -match "(?>(\w)\1+).\b"
#False
"aaaaab" -match "(?>(\w)\1+).\b"
#True
 
"aaaaa" -match "(\w)\1+.\b"
#True
"aaaaab" -match "(\w)\1+.\b"
#True
Comments