Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

Mo pfp
Mo
@meb
Today I learned, ^ inside a [ ] js regex section means NOT. So, ^\w means "match where the start is an ascii character" [^\w] means "not an ascii character" Thank you for coming to my ted talk
1 reply
0 recast
4 reactions

polymutex pfp
polymutex
@polymutex.eth
Also, \W (uppercase W) means "not \w", no need for square brackets.
1 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
Regex, new wacky and weird combos everyday That said; I’d prefer the original explicit not notation Uppercase and lowercase w would be easy to mix up when reading
0 reply
0 recast
0 reaction