diff options
author | Sean Allred <code@seanallred.com> | 2014-12-26 17:35:25 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-12-26 17:35:25 -0500 |
commit | b87861b6187ef4395e77e34882401f7fb28dfa26 (patch) | |
tree | b04018c2a1d3495c675d645a81024664447a71f2 | |
parent | 970acd6f7e5920ed6492a4a74e65eae9e29838b6 (diff) |
Make user IDs optional when parsing from link
-rw-r--r-- | sx.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -346,7 +346,7 @@ If ALIST doesn't have a `site' property, one is created using the (rx "/questions/" (1+ digit) "/" (1+ (not (any "/"))) "/" ;; User ID - (group digit) + (optional (group digit)) (optional "/") (group (or (sequence "#" (0+ any)) "")) string-end) link)) @@ -358,7 +358,7 @@ If ALIST doesn't have a `site' property, one is created using the ;; Question ID (group (1+ digit)) ;; User ID - "/" (1+ digit) + (optional "/" (1+ digit)) ;; Answer or Comment ID (group (or (sequence "#" (0+ any)) "")) string-end) link) |