Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
6c053b8a627bf576703306b15a71742a3aec2c99
/
.
/
test
/
filters-cases
/
bug-1229.cpp
blob: ec5bc61eb9b7746a011290b984e52db4fbc3a55b [
file
] [
log
] [
blame
] [
raw
]
#include
<ctre.hpp>
static
constexpr
auto
pattern
=
ctll
::
basic_fixed_string
{
"h.*"
};
constexpr
auto
match
(
std
::
string_view sv
)
noexcept
{
return
ctre
::
re
<pattern>
().
match
(
sv
);
}
void
myfunc
()
{
match
(
"hello"
);
}