Java matches regular expression
Posted on 2013-11-24
I have this regular expression which i would be using with matches..
String reg = "(?:\\s|\\A)[##]+([A-Za-z0-9-_]+)";
What does this mean? there is ? and etc...To me, it looks, like the string must start with s or A followed by the hash sign and then, it should words ...Is this right ?