« first day (559 days earlier)      last day (2390 days later) » 

3:46 PM
@ETHproductions Is there a better way of removing -s in the regex? codegolf.stackexchange.com/a/133750/61613
 
 
4 hours later…
7:50 PM
@Oliver Only "(^|[ -])%A" really
 
8:10 PM
@ETHproductions I guess Positive Lookbehind isn't possible in JS? regex101.com/r/ptL5iV/1
 
8:42 PM
@Oliver That's because you're in PCRE (PHP) mode rather than JS mode regex101.com/r/ptL5iV/2
Though there is a lookbehind proposal at stage 3 in the TC39 process: github.com/tc39/proposals
(once a proposal gets to stage 4, it's implemented in next year's version of JavaScript)
 
9:07 PM
I'd love to know which eejit decided it'd be a good idea for ^ to have 2 uses in RegEx!
 

« first day (559 days earlier)      last day (2390 days later) »