Regex Quick Syntax Reference by Zsolt Nagy

Regex Quick Syntax Reference by Zsolt Nagy

Author:Zsolt Nagy
Language: eng
Format: epub, azw3
ISBN: 9781484238769
Publisher: Apress


Match at Least Once

In BRE, we have to use the * to represent the + repeat modifier. a+ becomes aa*. In other words, matching an a character and at least zero more a characters is equivalent to matching at least one a character.

In EMACS and VIM, you have to escape the + operator. a+ becomes a\+. In all other dialects, we use the following:a+ to denote matching the a character at least once

[ab]+ to denote matching the a or the b character at least once

(ab)+ to denote matching the ab sequence at least once



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.