yasnippet/snippets/emacs-lisp-mode/string-match.yasnippet
Jim Myhrberg 09cc3eec21 Keep snippet vars definitions in a single format across all snippets and documentation.
The format is:

# var-name: value

Previously snippets used a mixture of the following formatting:

#var-name: value
#var-name : value
# var-name: value
# var-name : value
2011-11-03 20:51:31 +00:00

6 lines
142 B
Plaintext
Executable File

# contributor: Xah Lee (XahLee.org)
# name: string-match
# key: string-match
# key: sm
# --
(string-match "REGEXP$0" "STRING" &optional START)