diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2018-05-11 11:21:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-11 15:34:26 (GMT) |
commit | 55efd14733a8ad6bfeebcd661f85d312eeaa409d (patch) | |
tree | eeb2e53f015b48167f2ad4238e431c4c8dd84bbe /RegularExpression.hxx.in | |
parent | e488f7387389ce290085742f8f908d35e3f976de (diff) | |
download | CMake-55efd14733a8ad6bfeebcd661f85d312eeaa409d.zip CMake-55efd14733a8ad6bfeebcd661f85d312eeaa409d.tar.gz CMake-55efd14733a8ad6bfeebcd661f85d312eeaa409d.tar.bz2 |
KWSys 2018-05-11 (46da6b14)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 46da6b14f03f27d8531f841b9f48c1fda452c915 (master).
Upstream Shortlog
-----------------
Kyle Edwards (2):
5b8bf75b INSTALL: move namelink into development component
e5733515 Fix recent regression in installation of namelink
luz.paz (1):
0e14a1a6 Misc. typos and whitespace fixes
Diffstat (limited to 'RegularExpression.hxx.in')
-rw-r--r-- | RegularExpression.hxx.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/RegularExpression.hxx.in b/RegularExpression.hxx.in index 3cbbeb8..92e4b36 100644 --- a/RegularExpression.hxx.in +++ b/RegularExpression.hxx.in @@ -218,7 +218,7 @@ inline std::string RegularExpressionMatch::match(int n) const * object as an argument and creates an object initialized with the * information from the given RegularExpression object. * - * The find member function finds the first occurrence of the regular + * The find member function finds the first occurrence of the regular * expression of that object in the string given to find as an argument. Find * returns a boolean, and if true, mutates the private data appropriately. * Find sets pointers to the beginning and end of the thing last found, they @@ -230,9 +230,9 @@ inline std::string RegularExpressionMatch::match(int n) const * the to see if the compiled regular expression is the same, and the * deep_equal functions also checks to see if the start and end pointers are * the same. The is_valid function returns false if program is set to NULL, - * (i.e. there is no valid compiled exression). The set_invalid function sets - * the program to NULL (Warning: this deletes the compiled expression). The - * following examples may help clarify regular expression usage: + * (i.e. there is no valid compiled expression). The set_invalid function + * sets the program to NULL (Warning: this deletes the compiled expression). + * The following examples may help clarify regular expression usage: * * * The regular expression "^hello" matches a "hello" only at the * beginning of a line. It would match "hello there" but not "hi, @@ -270,13 +270,13 @@ inline std::string RegularExpressionMatch::match(int n) const * * * The regular expression "(..p)b" matches something ending with pb * and beginning with whatever the two characters before the first p - * encounterd in the line were. It would find "repb" in "rep drepa + * encountered in the line were. It would find "repb" in "rep drepa * qrepb". The regular expression "(..p)a" would find "repa qrepb" * in "rep drepa qrepb" * * * The regular expression "d(..p)" matches something ending with p, * beginning with d, and having two characters in between that are - * the same as the two characters before the first p encounterd in + * the same as the two characters before the first p encountered in * the line. It would match "drepa qrepb" in "rep drepa qrepb". * * All methods of RegularExpression can be called simultaneously from |