Is it possible to detect if a given string is valid regular expression, using just regular expressions?
If you\'re given a language, how do you figure out if it\'开发者_如何学Cs regular, CF but not regular, or phrase-structure but not CF? Is there a good way to attack this problem? I could randomly try
Most UNIX regular expressions have, besides the usual **,+,?* oper开发者_Python百科ators a backslash operator where \\1,\\2,... match whatever\'s in the last parentheses, so for example *L=(a*)b\\1* m
lets say i use jquery.get to retrive a website to string and how am i gonna select the whole table with clas开发者_运维问答s=product from it? $() seem cant work on string .... You can use .load() for
This is more of a computer science question than a programming one, but I figure that this is the best place out of all the related sites to ask this.