Skip to content

Commit

Permalink
waldo1001#243 Add Support for more Special Characters
Browse files Browse the repository at this point in the history
  • Loading branch information
pri-kise committed Jun 17, 2022
1 parent 8d1444c commit 14a0008
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/NAVObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,8 @@ class NAVPageField {
private _prefix: string;
private _suffix: string;

public static fieldRegEx(): RegExp {
return /.*(field\( *"?([ a-zA-Z0-9._/&-]+)"? *; *([" a-zA-Z0-9._/&-]+) *\))/g;
public static fieldRegEx(): RegExp {
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 14a0008

Please sign in to comment.