Detect unnecessary assertions
RunDevelopment opened this issue · 1 comments
RunDevelopment commented
Some assertions are plain unnecessary, either because they are always true or always false.
Examples:
/a\ba/ // always false
/a\Ba/ // always true
/foo^/ // note that there is no m flags
/$bar/
/foo(?!x)\s+bar/RunDevelopment commented
Fixed by d154097.