summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Regex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't pass StringRef by reference.Benjamin Kramer2010-07-141-2/+2
| | | | llvm-svn: 108366
* Add Regex::sub, for doing regular expression substitution with backreferences.Daniel Dunbar2010-02-171-0/+76
| | | | llvm-svn: 96503
* remove support for "NoSub" from regex. It seems like a minor optimizationChris Lattner2009-09-261-15/+12
| | | | | | and makes the API more annoying. Add a Regex::getNumMatches() method. llvm-svn: 82877
* add and document regex support for FileCheck. You can now do stuff like:Chris Lattner2009-09-241-2/+3
| | | | | | | | ; CHECK: movl {{%e[a-z][xi]}}, %eax or whatever. llvm-svn: 82717
* tidy up, fix a memory leak in Regex::isValidChris Lattner2009-09-241-13/+10
| | | | llvm-svn: 82707
* Add regular expression matching support, based on OpenBSD regexec()/regcomp()Torok Edwin2009-08-301-0/+97
implementation. llvm-svn: 80493
OpenPOWER on IntegriCloud