Skip to content
Snippets Groups Projects

RegularExpression: A few small features for CMake

Merged Nikita Nemkin requested to merge nnemkin/kwsys:regex2 into master
All threads resolved!

This MR adds a few small features for implementing cmake/cmake#26629 (closed).

  • An options parameter to RegularExpression::find() with two options.
  • A new method num_groups() that counts capture subgroups.
  • Less overloads and more null checks for RegularExpressionMatch::start/end/match mehtods.

Only one of those features (the BOL_AT_OFFSET option) is needed for cmake/cmake!10221 (merged). I can make it a separate MR if you wish.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • mentioned in merge request cmake/cmake!10221 (merged)

  • Nikita Nemkin added 1 commit

    added 1 commit

    • c8f5f4bf - RegularExpression: Add an options parameter to find()

    Compare with previous version

  • Do: stage

  • assigned to @brad.king

  • Nikita Nemkin resolved all threads

    resolved all threads

  • Do: merge

  • Brad King mentioned in commit 511adf49

    mentioned in commit 511adf49

  • Kitware Robot merged manually

    merged manually

  • mentioned in merge request cmake/cmake!10247 (merged)

  • Please register or sign in to reply
    Loading