Open
Description
These would be semi-dynamic factoids. A simple example:
<USER> !learn s/lodash (\w+)/_.\1 http://devdocs.io/lodash/index#\1
<USER> !lodash throttle
<bot> USER: _.throttle http://devdocs.io/lodash/index#throttle
<USER> !lodash map
<bot> USER: _.map http://devdocs.io/lodash/index#map
If someone gives me the go-ahead, I'll implement it.
Pattern must start with three or more non-dynamic characters followed by a space, e.g. "lodash "
. This'll be used to speed up look-up time, by not executing the expression until a match is likely