We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d94ded commit 6d354c5Copy full SHA for 6d354c5
docs/api.rst
@@ -28,8 +28,8 @@ API
28
29
Example: ::
30
31
- if (auto m = ctre::match<"(?<chars>[a-z]+([0-9]+)">("abc123")) {
32
- //TODO I can't seem to get named captures to work
+ if (auto m = ctre::match<"(?<chars>[a-z]+)([0-9]+)">("abc123")) {
+ m.get<"chars">(); //abc
33
m.get<2>(); //123
34
}
35
@@ -53,11 +53,6 @@ API
53
54
Converts the match to a string view.
55
56
- .. function:: constexpr auto operator*() const noexcept
57
- constexpr auto operator*() noexcept
58
-
59
- TODO I can't tell what these are supposed to do.
60
61
.. class:: template<size_t Id, typename Name = void> captured_content
62
63
.. class:: template <typename Iterator> storage
0 commit comments