Commit Graph

17 Commits (master)

Author SHA1 Message Date
John Benediktsson 26abdf4a23 regexp: try again to fix the issue with backslashes.
the new simple rule is inside R/ syntax all backslashes should be
escaped to allow easy regexp literal tokenization:

R/ [\/]/

but in the constructor <regexp> they shouldn't be:

"[/]" <regexp>

When the regexp is prettyprinted we make sure to visually escape the
backslashes in the raw regexp.
2019-03-21 13:29:15 -07:00
Doug Coleman c477757fa0 xkcd: Everybody stand back. I know regular expressions. 2018-06-16 19:26:47 -05:00
John Benediktsson cba0a96c10 regexp: one R/ syntax to rule them all, simpler this way. 2016-03-30 21:09:08 -07:00
John Benediktsson ad9d0c171b use scrape-html instead of "http-get nip parse-html". 2015-08-14 12:14:04 -07:00
Doug Coleman b39d4c54a4 regexp: remove R" R[ and R{, there are still plenty of options and better ones to come. 2015-07-21 17:33:14 -07:00
John Benediktsson 7fc906383c xkcd: save the comic number with XKCD: syntax. 2015-07-14 16:17:17 -07:00
John Benediktsson 5cc7bfb067 html.parser.printer: add helper words with string output. 2015-04-20 09:31:40 -07:00
John Benediktsson 9f44b1c37a xkcd: need to html-unescape. 2014-11-12 19:44:25 -08:00
John Benediktsson 4fce958402 xkcd: fix comic-text. 2014-11-12 19:41:58 -08:00
John Benediktsson 712be93989 http.client: remove http-get* and its friends, change http-request* and with-http-request* to not check response codes. 2014-03-12 19:39:15 -07:00
John Benediktsson 435f54cf59 http.client: use new http-get* word. 2013-10-12 10:25:42 -07:00
Doug Coleman 17782f45ab xkcd: Print images inline. 2012-08-17 16:49:41 -07:00
Doug Coleman 2503984e35 xkcd: Typos. 2012-08-17 10:42:33 -07:00
Doug Coleman 8354921226 xkcd: XKCD Literals. Duh. 2012-08-17 09:48:03 -07:00
John Benediktsson eddc0326b7 xkcd: rename private words. 2012-07-24 16:00:17 -07:00
John Benediktsson 5a323780d8 xkcd: having XKCD in a terminal - priceless. 2012-07-24 15:55:04 -07:00
John Benediktsson 66624ce7da xkcd: adding words to view XKCD comics in the listener. 2012-07-24 11:11:42 -07:00