Skip to content

Commit

Permalink
Merge pull request #244 from pri-kise/feature/page-field-name-characters
Browse files Browse the repository at this point in the history
#243 Add Support for more Special Characters
  • Loading branch information
waldo1001 authored Jun 17, 2022
2 parents 8d1444c + fef0a32 commit be25ed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NAVObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ class NAVPageField {
private _suffix: string;

public static fieldRegEx(): RegExp {
return /.*(field\( *"?([ a-zA-Z0-9._/&-]+)"? *; *([" a-zA-Z0-9._/&-]+) *\))/g;
return /.*(field\( *"?([ a-zA-Z0-9._/&%\/()-]+)"? *; *([" a-zA-Z0-9._/&%\/()-]+) *\))/g;
}

get nameFixed(): string {
Expand Down Expand Up @@ -640,7 +640,7 @@ class NAVPageGroup {
private _suffix: string;

public static fieldRegEx(): RegExp {
return /.*(group\( *"?([ a-zA-Z0-9._/&-]+)"? *\))/g;
return /.*(group\( *"?([ a-zA-Z0-9._/&%\/()-]+)"? *\))/g;
}

get nameFixed(): string {
Expand Down

0 comments on commit be25ed6

Please sign in to comment.