Skip to content

Commit

Permalink
Release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
magnars committed Jun 17, 2013
1 parent 123735b commit 8140902
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Expand Up @@ -330,12 +330,16 @@ When `start` is non-nil the search will start at that index.

### s-match-strings-all `(regex string)`

Return a list of every match for `regex` in `string`.
Return a list of matches for `regex` in `string`.

Each element itself is a list of matches, as per `match-string`.
Each element itself is a list of matches, as per
`match-string`. Multiple matches at the same position will be
ignored after the first.

```cl
(s-match-strings-all "{\\([^}]+\\)}" "x is {x} and y is {y}") ;; => '(("{x}" "x") ("{y}" "y"))
(s-match-strings-all "ab." "abXabY") ;; => '(("abX") ("abY"))
(s-match-strings-all "\\<" "foo bar baz") ;; => '(("") ("") (""))
```

### s-slice-at `(regexp s)`
Expand Down Expand Up @@ -632,7 +636,7 @@ transformation.

### s-lex-format `(format-str)`

`s-format` with the currently defined variables.
`s-format` with the current environment.

`format-str` may use the `s-format` variable reference to refer to
any variable:
Expand Down
2 changes: 1 addition & 1 deletion s.el
Expand Up @@ -3,7 +3,7 @@
;; Copyright (C) 2012 Magnar Sveen

;; Author: Magnar Sveen <magnars@gmail.com>
;; Version: 1.6.0
;; Version: 1.6.1
;; Keywords: strings

;; This program is free software; you can redistribute it and/or modify
Expand Down

0 comments on commit 8140902

Please sign in to comment.