Skip to content

Commit 1e9e5d9

Browse files
committed
Tweak escapes
1 parent 75c9760 commit 1e9e5d9

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)