Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rolf Eike Beer
KWSys
Commits
e520565c
Commit
e520565c
authored
21 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
ERR: Fixed documentation to read RegularExpression instead of cmRegularExpression.
parent
d53edd0e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RegularExpression.hxx.in
+8
-8
8 additions, 8 deletions
RegularExpression.hxx.in
with
8 additions
and
8 deletions
RegularExpression.hxx.in
+
8
−
8
View file @
e520565c
...
...
@@ -49,13 +49,13 @@ namespace @KWSYS_NAMESPACE@
const int RegularExpressionNSUBEXP = 10;
/** \class
cm
RegularExpression
/** \class RegularExpression
* \brief Implements pattern matching with regular expressions.
*
* This is the header file for the regular expression class. An object of
* this class contains a regular expression, in a special "compiled" format.
* This compiled format consists of several slots all kept as the objects
* private data. The
cm
RegularExpression class provides a convenient way to
* private data. The RegularExpression class provides a convenient way to
* represent regular expressions. It makes it easy to search for the same
* regular expression in many different strings without having to compile a
* string to regular expression format more than necessary.
...
...
@@ -67,7 +67,7 @@ const int RegularExpressionNSUBEXP = 10;
* regular expression is a sequence of characters used to
* search for exact character matches. However, many times the
* exact sequence to be found is not known, or only a match at
* the beginning or end of a string is desired. The
cm
RegularExpression regu-
* the beginning or end of a string is desired. The RegularExpression regu-
* lar expression class implements regular expression pattern
* matching as is found and implemented in many UNIX commands
* and utilities.
...
...
@@ -79,7 +79,7 @@ const int RegularExpressionNSUBEXP = 10;
*
* Is written as follows in C++
*
*
cm
RegularExpression re("([a-z]+)\\.cc");
* RegularExpression re("([a-z]+)\\.cc");
* re.find(filename);
* cerr << re.match(1);
*
...
...
@@ -117,12 +117,12 @@ const int RegularExpressionNSUBEXP = 10;
* characters "ab" followed by numbers in the series one
* through nine.
*
* There are three constructors for
cm
RegularExpression. One just creates an
* empty
cm
RegularExpression object. Another creates a
cm
RegularExpression
* There are three constructors for RegularExpression. One just creates an
* empty RegularExpression object. Another creates a RegularExpression
* object and initializes it with a regular expression that is given in the
* form of a char*. The third takes a reference to a
cm
RegularExpression
* form of a char*. The third takes a reference to a RegularExpression
* object as an argument and creates an object initialized with the
* information from the given
cm
RegularExpression object.
* information from the given RegularExpression object.
*
* The find member function finds the first occurence of the regualr
* expression of that object in the string given to find as an argument. Find
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment