Y
Hacker News
new
|
ask
|
show
|
jobs
by
chm
4227 days ago
What does something like \D{2}\S{3} mean? Out of context it seems a bit... cryptic ;)
3 comments
comex
4227 days ago
It's a regular expression, probably Perl syntax:
http://perldoc.perl.org/perlrebackslash.html
link
chm
4227 days ago
Thank you. I thought it could be a regex, but I had never seen perl syntax before.
link
JoshTheGeek
4223 days ago
Two non-digits followed by three non-whitespace characters
link
cperciva
4227 days ago
It's a regex... but my first thought was that it was a clue about group theory.
link
http://perldoc.perl.org/perlrebackslash.html