Thursday, 26 May 2016

Reference - What does this regex mean?




What is this?



This is a collection of common Q&A. This is also a Community Wiki, so everyone is invited to participate in maintaining it.




Why is this?



is suffering from give me ze code type of questions and poor answers with no explanation. This reference is meant to provide links to quality Q&A.



What's the scope?



This reference is meant for the following languages: , , , , , , .



This might be too broad, but these languages share the same syntax. For specific features there's the tag of the language behind it, example:





  • What are regular expression Balancing Groups?


Answer



The Regular Expressions FAQ



See also a lot of general hints and useful links at the tag details page.







Online tutorials





Quantifiers





Character Classes






Escape Sequences





Anchors





(Also see "Flavor-Specific Information → Java → The functions in Matcher")



Groups






Lookarounds





Modifiers





Other:






Common Tasks





Advanced Regex-Fu




  • Strings and numbers:



  • Other:




Flavor-Specific Information



(Except for those marked with *, this section contains links.)





  • Java


  • .NET


  • Official documentation:





General information



(Links marked with * are links.)





Examples of regex that can cause regex engine to fail






Tools: Testers and Explainers



(This section contains links.)






No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...