-
Notifications
You must be signed in to change notification settings - Fork 16
/
isbot.node.txt
21 lines (14 loc) · 1.6 KB
/
isbot.node.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ISBOT
VERSION ==> #3.7.0
ISBOT('USERAGENT')->BOOL #
ISBOT.find('USERAGENT')[->'NAME'] #Actually not 'NAME' but REGEXP part looked for that match
ISBOT.matches('USERAGENT')
->'NAME'_ARR #
ISBOT.pattern #REGEXP
ISBOT.extend('REGEXP'[_ARR]) #Add REGEXP (case-insensitive)
ISBOT.exclude('REGEXP'_ARR) #Inverse
ISBOT.clear('USERAGENT') #Like matches() + exclude()
ISBOT.spawn([REGEXP[_ARR]]) #Clone
->ISBOT2 #If REGEXP[_ARR], replace whole list