Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
dcc6da3a
Commit
dcc6da3a
authored
Sep 07, 2005
by
Stefan Monnier
Browse files
(perl-font-lock-syntactic-keywords):
Fix regexp for when "s///" is at the beginning of line.
parent
2ccc02f2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/perl-mode.el
lisp/progmodes/perl-mode.el
+2
-2
No files found.
lisp/ChangeLog
View file @
dcc6da3a
2005-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
Fix regexp for when "s///" is at the beginning of line.
2005-09-07 Jay Belanger <belanger@truman.edu>
* calc/calc-poly.el (math-expand-term): Multiply out any powers
...
...
lisp/progmodes/perl-mode.el
View file @
dcc6da3a
...
...
@@ -267,12 +267,12 @@ The expansion is entirely correct because it uses the C preprocessor."
("
\\<sub\\s-+\\S-+\\s-*
(
\\
(
[^
)
]+\\
))
" 1 '(1))
;; regexp and funny quotes
("
[?:.,
;=!~({[][ \t\n]*\\(/\\)" (1 '(7)))
(
"[?:.,;=!~({[ \t
\n]
\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)"
(
"
\\(^\\|
[?:.,;=!~({[ \t
]\\)
\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)"
;; Nasty cases:
;; /foo/m $a->m $#m $m @m %m
;; \s (appears often in regexps).
;; -s file
(
2
(
if
(
assoc
(
char-after
(
match-beginning
2
))
(
3
(
if
(
assoc
(
char-after
(
match-beginning
3
))
perl-quote-like-pairs
)
'
(
15
)
'
(
7
))))
;; TODO: here-documents ("<<\\(\\sw\\|['\"]\\)")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment