A handy dandy tool to generate regexes for smokey to watch.
Requires FIRE to operate.
When viewing a report with FIRE, the WatchScribe widget will be at the bottom of the report:
For a comprehensive list of the different types of commands WatchScribe can generate, you can go to the Generation Heuristics page.
You can select text and click "Generate Regex" to add a watch command for that text to the regex list:
You can also select any part of a link and it will create commands for the link URL and the link text (if it isn't a URL itself):
Further, if it looks like a link ends with an ID (like a t.co link), a case-insensitive regex will be generated with a comment containing the parent domain
Selecting any part of the end of a link will also generate a case-insensitive regex.
Additionally, you can type any keyword you want and click "Add to list":
You can send any individual regex to chat by clicking the "Send to chat" button next to each regex. Alternatively, you can click "send all to chat" to send each one individually. This may lead to chat timeouts.
Furthermore, you can select a phone number to get corresponding number watching/blacklisting commands:
You can also make commands generate as their blacklist counterparts by switching to blacklist mode:
You can also silence or unsilence commands with the silent switch:
Hold shift when clicking the "Generate Regex" button to make plain text commands wrap in (?i-:):
On mobile, holding down the generate regex button will toggle case insensitivity mode until next tap.
You can remove individual regexes from the list by clicking the red delete button:
The anchor button wraps a regex in ^$:
You can press ] to enter regex sending mode:
Pressing the key shown at the beginning of the regex will send that regex to chat. Pressing enter will send the top of the list, and then remove that regex from the list. Pressing Tab in regex sending mode will send all regexes.
Additionally:
- w Enter watch mode
- b Enter blacklist mode
- / Toggle current command mode
- - Toggle silent mode
- Tab Generate regex for selected text
- Enter (when inside custom text box) Generate from input box
- ] Enable/Disable keyboard shortcut regex sending
- ` Toggle the last generated regex(es) between watch and blacklist mode
- c Clear the regex list
If you select text from a report or enter text in the input box that matches the hostname of an already generated URL, the system will create a variant of the text regex that includes a positive lookbehind for that URL.