Skip to content
Snippets Groups Projects
Commit c8f5f4bf authored by Nikita Nemkin's avatar Nikita Nemkin
Browse files

RegularExpression: Add an options parameter to find()

There are two options:

 * BOL_AT_OFFSET enables matching the "^" anchor at the search
   start position instead of the input start. This is the legacy
   CMake behavior.

 * NONEMPTY_AT_OFFSET rejects empty matches at the search start
   position. This is used to allow zero-length matches when
   searching for multiple match occurrences.

Issue: cmake/cmake#26629
parent d022423b
No related branches found
No related tags found
1 merge request!321RegularExpression: A few small features for CMake
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment