@@ -243,12 +243,12 @@ an integer (the current comment nesting)."
243
243
" Make a regular expression for methods with the given VISIBILITY.
244
244
245
245
VISIBILITY must be a string that names the visibility for a PHP
246
- method, e.g. 'public'. The parameter VISIBILITY can itself also
246
+ method, e.g. \ ' public\ ' . The parameter VISIBILITY can itself also
247
247
be a regular expression.
248
248
249
249
The regular expression this function returns will check for other
250
- keywords that can appear in method signatures, e.g. 'final' and
251
- 'static'. The regular expression will have one capture group
250
+ keywords that can appear in method signatures, e.g. \ ' final\ ' and
251
+ \ ' static\ ' . The regular expression will have one capture group
252
252
which will be the name of the method."
253
253
(when (stringp visibility)
254
254
(setq visibility (list visibility)))
@@ -275,8 +275,8 @@ which will be the name of the method."
275
275
'((* any) line-end))))))
276
276
277
277
(defun php-create-regexp-for-classlike (type )
278
- " Accepts a `TYPE' of a 'classlike' object as a string, such as
279
- 'class' or 'interface', and returns a regexp as a string which
278
+ " Accepts a `TYPE' of a \ ' classlike\ ' object as a string, such as
279
+ \ ' class\ ' or \ ' interface\ ' , and returns a regexp as a string which
280
280
can be used to match against definitions for that classlike."
281
281
(concat
282
282
; ; First see if 'abstract' or 'final' appear, although really these
0 commit comments