Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
glxxyz
· 1y ago · 0 comments
[^X] means any character other than X, so [^X]* matches zero or more of any characters, so long as none of them are X.
Comments
[–]
Levitating
1y ago
Ah my bad! I did misinterpret [^X] as X or the line-start.