Mercurial > dive4elements > river
diff .hgtags @ 7382:420eb5a5fde4
Datacage: Add function dc:find-all(needle, haystack).
Finds all matches for needle in haystack and results them als a list of strings.
Example:
dc:find-all("\d{4}", "1919 1291 1299 3029")
returns
("1919", "1291, "1299", "3029")
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 18 Oct 2013 18:15:33 +0200 |
parents | 6d4578fe4696 |
children | 4596debab968 69138ab4a942 |