Skip to content

Commit

Permalink
and again :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hana Dusíková committed Oct 7, 2018
1 parent fd1e18e commit a509688
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -7,15 +7,15 @@ Fast compile-time regular expression with support for matching/searching/capturi
## What this library can do? ## What this library can do?


```c++ ```c++
ctre::match<"REGEX">(strview); // C++20 ctre::match<"REGEX">(subject); // C++20
"REGEX"_ctre.match(strview); // C++17 + N3599 extension "REGEX"_ctre.match(subject); // C++17 + N3599 extension
``` ```


* Matching * Matching
* Searching * Searching
* Capturing content * Capturing content (named captures are supported too)


### What can be input? ### What can be subject (input)?


* `std::string`-like object (`std::string_view` or your own string if it's providing `begin`/`end` functions with forward iterators) * `std::string`-like object (`std::string_view` or your own string if it's providing `begin`/`end` functions with forward iterators)
* pair of forward iterators * pair of forward iterators
Expand Down

0 comments on commit a509688

Please sign in to comment.