5 ms·
What does something like \D{2}\S{3} mean? Out of context it seems a bit... cryptic ;)
by chm 12y ago
What does something like \D{2}\S{3} mean? Out of context it seems a bit... cryptic ;)
- comex 12y agoIt's a regular expression, probably Perl syntax: http://perldoc.perl.org/perlrebackslash.html http://perldoc.perl.org/perlrebackslash.html
- chm 12y agoThank you. I thought it could be a regex, but I had never seen perl syntax before.
- cperciva 12y agoIt's a regex... but my first thought was that it was a clue about group theory.
- JoshTheGeek 12y agoTwo non-digits followed by three non-whitespace characters