better messageparser regex
This commit is contained in:
parent
fec68a3fe5
commit
ceb676e50b
|
@ -97,8 +97,8 @@ Load the messageparser plugin:
|
|||
|
||||
```
|
||||
/msg <bot> load MessageParser
|
||||
/msg <bot> messageparser add global "https?://twitter\.com/([^ \t/]+)(?:$|[ \t])" "Tweety twitter --info $1"
|
||||
/msg <bot> messageparser add global "https?://twitter\.com/([A-Za-z0-9_]+)/status/([0-9]+)" "Tweety twitter --id $2"
|
||||
/msg <bot> messageparser add global "https?://.*\.?twitter\.com/([^ \t/]+)(?:$|[ \t])" "Tweety twitter --info $1"
|
||||
/msg <bot> messageparser add global "https?://.*\.?twitter\.com/([A-Za-z0-9_]+)/status/([0-9]+)" "Tweety twitter --id $2"
|
||||
```
|
||||
|
||||
## About
|
||||
|
|
Loading…
Reference in New Issue