Update Lexer.php
improve error handling avoid undescriptive php warning
Coverage remained the same at ?% when pulling ee15300b7d2686a0f6e5118773d9eae197854bf6 on flip111:patch-1 into c620f44deff0b4c2d0c27560a3b0f5e7e376e001 on hoaproject:master.
Coverage remained the same at ?% when pulling ee15300b7d2686a0f6e5118773d9eae197854bf6 on flip111:patch-1 into c620f44deff0b4c2d0c27560a3b0f5e7e376e001 on hoaproject:master.
Coverage remained the same at ?% when pulling ee15300b7d2686a0f6e5118773d9eae197854bf6 on flip111:patch-1 into c620f44deff0b4c2d0c27560a3b0f5e7e376e001 on hoaproject:master.
Can you explain how to reproduce the warning please?
Put a token with an invalid regex. Maybe try [\d, i don't remember exactly what token i had on hand at the time