Regular expression
Описание
للاستفسار :
فيس بوك : https://www.facebook.com/eslam.khder.98
لينكد ان : https://www.linkedin.cn/in/eslam-khder-4145351b0
Regular Expression (java) :
https://youtube.com/playlist?list=PLq8huKQsVgUNsR6g-HlwWV6hhGCGSiGEw
=======================================================
Regular expression
From Wikipedia, the free encyclopedia
Jump to navigationJump to search
"Regex" redirects here. For the comic book, see Re:Gex.
"Find and Replace" redirects here. For the audio drama, see Find and Replace (audio drama).
The match results of the pattern
At least two spaces are matched, but only if they occur directly after a period (.) and before an uppercase letter.
Stephen Cole Kleene, who introduced the concept
A blacklist on Wikipedia which uses regular expressions to identify bad titles
A regular expression (shortened as regex or regexp;[1] also referred to as rational expression[2][3]) is a sequence of characters that specifies a search pattern. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation. It is a technique developed in theoretical computer science and formal language theory.
The concept of regular expressions began in the 1950s, when the American mathematician Stephen Cole Kleene formalized the description of a regular language. They came into common use with Unix text-processing utilities. Different syntaxes for writing regular expressions have existed since the 1980s, one being the POSIX standard and another, widely used, being the Perl syntax.
Regular expressions are used in search engines, search and replace dialogs of word processors and text editors, in text processing utilities such as sed and AWK and in lexical analysis. Many programming languages provide regex capabilities either built-in or via libraries, as it has uses in many situations.
Contents
1 History
2 Patterns
3 Basic concepts
4 Formal language theory
4.1 Formal definition
4.2 Expressive power and compactness
4.3 Deciding equivalence of regular expressions
5 Syntax
5.1 Delimiters
5.2 Standards
5.2.1 POSIX basic and extended
5.2.2 POSIX extended
5.2.3 Character classes
5.3 Perl and PCRE
5.4 Lazy matching
5.5 Possessive matching
6 Patterns for non-regular languages
7 Implementations and running times
8 Unicode
9 Uses
10 Examples
11 Induction
12 See also
13 Notes
14 References
15 External links
Рекомендуемые видео



















