Skip to content

Commit 3ca4f65

Browse files
committed
Fix certain regex
1 parent 9e61741 commit 3ca4f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/aws.permissions.cloud.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var custom_policy_timer;
44

55
function escapeRegex(string) {
6-
return string.replace(/[/\-\\^$*+?.()|[\]{}]/g, '\\$&');
6+
return string.replace(/[/\-\\^*+?.()|[\]]/g, '\\$&');
77
}
88

99
function arnReplace(arn, action, resource_mapping_sub, resource_type_name) {

0 commit comments

Comments
 (0)