Skip to content

Commit

Permalink
accept '-' character in field names
Browse files Browse the repository at this point in the history
  • Loading branch information
romange committed Dec 25, 2024
1 parent 59c8c9b commit 86bde05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/jsoncons_ext/jsonpath/jsonpath_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ namespace detail {
case 'a':case 'b':case 'c':case 'd':case 'e':case 'f':case 'g':case 'h':case 'i':case 'j':case 'k':case 'l':case 'm':case 'n':case 'o':case 'p':case 'q':case 'r':case 's':case 't':case 'u':case 'v':case 'w':case 'x':case 'y':case 'z':
case 'A':case 'B':case 'C':case 'D':case 'E':case 'F':case 'G':case 'H':case 'I':case 'J':case 'K':case 'L':case 'M':case 'N':case 'O':case 'P':case 'Q':case 'R':case 'S':case 'T':case 'U':case 'V':case 'W':case 'X':case 'Y':case 'Z':
case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8':case '9':
case '_':
case '_':case '-':
buffer.push_back(*p_);
++p_;
++column_;
Expand Down

0 comments on commit 86bde05

Please sign in to comment.