Skip to content

Commit b61dc50

Browse files
committed
add divide
1 parent 391ddfb commit b61dc50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/url_hash_binding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class UrlHashBinding extends RefCounted {
129129
if (stateString !== this.prevStateString) {
130130
this.prevStateString = stateString;
131131
const userFunc = this.viewer.urlHashRateLimit.value;
132-
const safeFunc = /^[x *\+\-\d\(\)le]*$/;
132+
const safeFunc = /^[x */\+\-\d\(\)le]*$/;
133133
if (safeFunc.test(userFunc)) {
134134
const translatedFunc = userFunc
135135
.replaceAll("l", "Math.log")

0 commit comments

Comments
 (0)