aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorF. Jason Park2023-09-01 20:05:35 -0700
committerF. Jason Park2023-09-10 17:58:20 -0700
commitc96a626dce2a12d1415e0d2c6e9eaeac8c5a1d75 (patch)
tree7bf905d6619d5287117070a5d0a99ed901433c64 /java/debug.sh
parentb5df39e924ba5d9eb1a1adc4b308eb983126d444 (diff)
downloademacs-c96a626dce2a12d1415e0d2c6e9eaeac8c5a1d75.tar.gz
emacs-c96a626dce2a12d1415e0d2c6e9eaeac8c5a1d75.zip
Allow login to contain NUH delimiters in erc-parse-user
* lisp/erc/erc.el (erc--parse-user-regexp-legacy, erc--parse-user-regexp-pedantic): New constants. The first is the original pattern that matches across line endings. The second disallows multiline strings and interprets excess delimiting characters as part of the middle, "user" component as per RFC1459. The latter distinction is largely academic because most servers reject such logins anyway, but bridges to other protocols and future extensions may need to exploit this for novel uses. (erc--parse-user-regexp): New variable, currently set to `erc--parse-user-regexp-legacy'. (erc-parse-user): Keep original pattern as default, but do so indirectly via `erc--parse-user-regexp'. * test/lisp/erc/erc-tests.el (erc-parse-user): New test.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions