Skip to content

Commit

Permalink
Fix to regex pattern
Browse files Browse the repository at this point in the history
Signed-off-by: spagadar <[email protected]>
  • Loading branch information
SrikanthPagadarai committed Dec 5, 2023
1 parent 7ab380d commit 15f000f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace genalyzer_impl::manager {
*/
namespace genalyzer_impl::manager {

static const str_t key_pattern = "[[:alpha:]][[:alnum:]-._]*";
static const str_t key_pattern = "[[:alpha:]][[:alnum:]._]*";

void add_object(const str_t& key, object::pointer obj, bool replace);

Expand All @@ -45,4 +45,4 @@ namespace genalyzer_impl::manager {

} // namespace genalyzer_impl::manager

#endif // GENALYZER_IMPL_MANAGER_HPP
#endif // GENALYZER_IMPL_MANAGER_HPP

0 comments on commit 15f000f

Please sign in to comment.