mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (parse_quotedwords): %w should allow parenthesis escape.
* parse.y (parse_qstring): %q should allow terminator escape. * re.c (rb_reg_equal): all option flags should be same to be equal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ab65e3df29
commit
10f884d85a
17 changed files with 71 additions and 87 deletions
|
|
@ -749,7 +749,7 @@ An end of a defun is found by moving forward from the beginning of one."
|
|||
'("^\\s *def\\s +\\([^( ]+\\)"
|
||||
1 font-lock-function-name-face)
|
||||
;; symbols
|
||||
'("\\(^\\|[^:]\\)\\(:\\(\\w\\|_\\)+\\??\\)\\b"
|
||||
'("\\(^\\|[^:]\\)\\(:\\([-+/%&|^~`]\\|\\*\\*?\\|<\\(<\\|=>?\\)?\\|>[>=]?\\|===?\\|=~\\|\\[\\]\\|\\(\\w\\|_\\)+\\([!?=]\\|\\b\\)\\)\\)"
|
||||
2 font-lock-reference-face))
|
||||
"*Additional expressions to highlight in ruby mode."))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue