diff options
author | Magnar Sveen <magnars@gmail.com> | 2016-05-09 08:56:05 +0200 |
---|---|---|
committer | Magnar Sveen <magnars@gmail.com> | 2016-05-09 08:56:05 +0200 |
commit | 46d44f37164bbe365b4a45c85dd022cc55740b53 (patch) | |
tree | 76141084b201ac793702e4e99b6fc24c7b4e8e5e /s.el | |
parent | 66c25dfcf54505ca18ba473b6e361fd86805e116 (diff) | |
parent | 4af787c030379f7f9f0db64efba90036c010df88 (diff) |
Merge pull request #89 from kuanyui/master
Fix wrong behavior in s-matched-positions-all
Diffstat (limited to 's.el')
-rw-r--r-- | s.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -429,7 +429,7 @@ SUBEXP-DEPTH is 0 by default." (< pos (length string))) (let ((m (match-end subexp-depth))) (push (cons (match-beginning subexp-depth) (match-end subexp-depth)) result) - (setq pos m))) + (setq pos (match-end 0)))) (nreverse result))) (defun s-match (regexp s &optional start) |