« first day (2148 days earlier)      last day (1644 days later) » 

5:50 AM
Hi, could anyone help me understand why the following regex matches? /(?<![a-z])\+?\d(?![a-z]\.\d)/gmi flavor PCRE on test string h12g
 
 
5 hours later…
11:42 AM
@GaurangTandon why shouldn't it match?
you might want to add boundary check "\b"
 
 
4 hours later…
4:37 PM
@HamZa sorry i was mistaken. i found my mistake. i misunderstood (?!) operating as a character class.
 
 
2 hours later…
 
3 hours later…
 
2 hours later…

« first day (2148 days earlier)      last day (1644 days later) »