Skip to content

Commit fefd098

Browse files
committed
increase group label limit to 128
1 parent d797eb9 commit fefd098

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pomsky-lang/parser",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "JavaScript parser for the Pomsky regular expression language",
55
"collaborators": [
66
"Ludwig Stecher <ludwig.stecher@gmx.de>"

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ export class Parser {
640640
if (name !== undefined) {
641641
if (!/^[a-zA-Z0-9]*$/.test(name)) {
642642
throw new ParseError(ParseErrorKind.InvalidCharsInGroupName, this.lastSpan())
643-
} else if (name.length > 32) {
643+
} else if (name.length > 128) {
644644
throw new ParseError(ParseErrorKind.GroupNameTooLong, this.lastSpan())
645645
}
646646
}

0 commit comments

Comments
 (0)