Quantifier range not working in lookbehind
问题 Okay so I'm working on a project where I need a regex that can match a * followed by 1-4 spaces or tabs and then followed by a row of text. Right now I'm using .* after the lookbehind for testing purposes. However I can get it to match explicitly 1, 2, or 4 spaces/tabs but not 1-4. I'm testing against the following block * test line here * Second test * Third test * Another test And these are the two patterns I'm testing (?<=(\*[ \t]{3})).* which works just as expected and matches the 2nd