So I was browsing the functions on the API site when I faced this, regex_match claims this:
If you intend on using the same regular expression pattern
multiple times, consider using regex_compile and regex_match_ex
instead of making this function reparse the expression each time.
There comes the "but" part, when I realized that regex_match_ex does not exist, not even in the module.cpp.
It is also mentioned at the description of regex_match_all.
So I was browsing the functions on the API site when I faced this, regex_match claims this: If you intend on using the same regular expression pattern multiple times, consider using regex_compile and regex_match_ex instead of making this function reparse the expression each time.
There comes the "but" part, when I realized that regex_match_ex does not exist, not even in the module.cpp.
It is also mentioned at the description of regex_match_all.
Futhermore take a look at this: regex_split