netlify is more reliable
This commit is contained in:
1 parent
7fe8f5d154
commit
4dfff986d4
16 files changed
+42
-105
No files matched your search
@@ -1,5 +1,8 @@
|
||||
import QParser from 'q2filter'
|
||||
|
||||
export const TAGS = JSON.parse(process.env.tags!)
|
||||
export const HASH = JSON.parse(process.env.hash!)
|
||||
|
||||
export function escapeRegExp (s: string) {
|
||||
return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') // $& means the whole matched string
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user