Regular expressions and regular languages

Source: Internet
Author: User

The use of regular expressions for many years, but has been stuck in only the use of the recent reading process, suddenly a new understanding of the regular:

1, the so-called regular, English for regular, did not want to understand, yesterday suddenly thought of its meaning is to explain that the expression is a rule, not a mess. With the rules, we can analyze and deal with all kinds of laws. There is no regular expression, we do not care, and no interest, of course, no rule is also said to be an example, not worth studying.

2, the regular expression is not a single specific content, but a series of specific content, but all of these specific content by the regular expression in the alphabet by the combination of characters. The set of all the specific content represented by a regular expression is the range that the regular expression can represent, that is, the regular language, which can be defined by regular expressions, or can be exhaustive.

Regular expressions and regular languages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.