Regular String Expression
(Redirected from regular string expression)
Jump to navigation
Jump to search
A Regular String Expression is a string pattern that is expressed as a regular expression statement.
- Example(s):
- any Simple String Pattern.
- a dollar sign immediately followed by one or more digits, and then optionally a period and exactly two more digits.
- the word "car" when preceded by the word "blue" or "red".
- ...
- Counter-Example(s):
- any Syntactic Pattern, if the string is based on a Formal Grammar.
- any Lexico-Syntactic Pattern, if the string is based on a Formal Grammar.
- any Regular Graph Pattern.
- See: Regular Graph Expression, Perl Regular Expression, Java Regular Expression.
References
1996
- (Wall et al., 1996) ⇒ Larry Wall, Tom Christiansen, and Randal L. Schwartz. (1996). “Programming Perl, 2nd edition." O'Reilly. ISBN:1565921496
- regular expression: To normal people, it's a pattern that you can use to find what you're looking for when it varies from case to case. Example of a regular expression: /Oh s.*t./ This pattern will match strings like "Oh say can you see by the dawn's early light," and "Oh sit!".