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> load MessageParser
|
||||||
/msg <bot> messageparser add global "https?://twitter\.com/([^ \t/]+)(?:$|[ \t])" "Tweety twitter --info $1"
|
/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/([A-Za-z0-9_]+)/status/([0-9]+)" "Tweety twitter --id $2"
|
||||||
```
|
```
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
@ -108,4 +108,4 @@ able to learn was due to other code out there. If you find a bug or would like a
|
||||||
free to give me a message on IRC or fork and submit a pull request. Many hours do go into each plugin,
|
free to give me a message on IRC or fork and submit a pull request. Many hours do go into each plugin,
|
||||||
so, if you're feeling generous, I do accept donations via Amazon or browse my [wish list](http://amzn.com/w/380JKXY7P5IKE).
|
so, if you're feeling generous, I do accept donations via Amazon or browse my [wish list](http://amzn.com/w/380JKXY7P5IKE).
|
||||||
|
|
||||||
I'm always looking for work, so if you are in need of a custom feature, plugin or something bigger, contact me via GitHub or IRC.
|
I'm always looking for work, so if you are in need of a custom feature, plugin or something bigger, contact me via GitHub or IRC.
|
||||||
|
|
Loading…
Reference in New Issue