Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chm
· 12y ago · 0 comments
What does something like \D{2}\S{3} mean? Out of context it seems a bit... cryptic ;)
Comments
[–]
comex
12y ago
It's a regular expression, probably Perl syntax:
http://perldoc.perl.org/perlrebackslash.html
[–]
chm
OP
12y ago
Thank you. I thought it could be a regex, but I had never seen perl syntax before.
[–]
JoshTheGeek
12y ago
Two non-digits followed by three non-whitespace characters
[–]
cperciva
12y ago
It's a regex... but my first thought was that it was a clue about group theory.