Skip to content

Commit 6bac3ca

Browse files
authored
Merge pull request #4 from Cqoicebordel/patch-1
Fix noexcept typo
2 parents 2ecc6f5 + 9c3b0ce commit 6bac3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is placeholder branch for new version of CTRE.
66

77
#### Extracting number from input
88
```c++
9-
std::optional<std::string_view> extract_number(std::string_view s) neoxcept {
9+
std::optional<std::string_view> extract_number(std::string_view s) noexcept {
1010
using namespace ctre::literals;
1111
if (auto m = "^[a-z]++([0-9]++)$"_pcre.match(s)) {
1212
return m.get<1>().to_view();
@@ -62,4 +62,4 @@ constexpr std::optional<lex_item> lexer(std::string_view v) noexcept {
6262
## Supported compilers
6363
6464
* clang 5.0+
65-
* gcc 7.2+
65+
* gcc 7.2+

0 commit comments

Comments
 (0)