|
Karsten Hopp |
88ed77 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
88ed77 |
Subject: Patch 7.3.1006
|
|
Karsten Hopp |
88ed77 |
Fcc: outbox
|
|
Karsten Hopp |
88ed77 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
88ed77 |
Mime-Version: 1.0
|
|
Karsten Hopp |
88ed77 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
88ed77 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
88ed77 |
------------
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
Patch 7.3.1006
|
|
Karsten Hopp |
88ed77 |
Problem: NFA engine not used for "\_[0-9]".
|
|
Karsten Hopp |
88ed77 |
Solution: Enable this, fixed in patch 1005.
|
|
Karsten Hopp |
88ed77 |
Files: src/regexp_nfa.c
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
*** ../vim-7.3.1005/src/regexp_nfa.c 2013-05-22 23:00:34.000000000 +0200
|
|
Karsten Hopp |
88ed77 |
--- src/regexp_nfa.c 2013-05-23 22:19:29.000000000 +0200
|
|
Karsten Hopp |
88ed77 |
***************
|
|
Karsten Hopp |
88ed77 |
*** 679,687 ****
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
/* "\_[" is collection plus newline */
|
|
Karsten Hopp |
88ed77 |
if (c == '[')
|
|
Karsten Hopp |
88ed77 |
! /* TODO: make this work
|
|
Karsten Hopp |
88ed77 |
! * goto collection; */
|
|
Karsten Hopp |
88ed77 |
! return FAIL;
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
/* "\_x" is character class plus newline */
|
|
Karsten Hopp |
88ed77 |
/*FALLTHROUGH*/
|
|
Karsten Hopp |
88ed77 |
--- 679,685 ----
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
/* "\_[" is collection plus newline */
|
|
Karsten Hopp |
88ed77 |
if (c == '[')
|
|
Karsten Hopp |
88ed77 |
! goto collection;
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
/* "\_x" is character class plus newline */
|
|
Karsten Hopp |
88ed77 |
/*FALLTHROUGH*/
|
|
Karsten Hopp |
88ed77 |
***************
|
|
Karsten Hopp |
88ed77 |
*** 891,898 ****
|
|
Karsten Hopp |
88ed77 |
}
|
|
Karsten Hopp |
88ed77 |
break;
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
- /* collection: */
|
|
Karsten Hopp |
88ed77 |
case Magic('['):
|
|
Karsten Hopp |
88ed77 |
/*
|
|
Karsten Hopp |
88ed77 |
* Glue is emitted between several atoms from the [].
|
|
Karsten Hopp |
88ed77 |
* It is either NFA_OR, or NFA_CONCAT.
|
|
Karsten Hopp |
88ed77 |
--- 889,896 ----
|
|
Karsten Hopp |
88ed77 |
}
|
|
Karsten Hopp |
88ed77 |
break;
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
case Magic('['):
|
|
Karsten Hopp |
88ed77 |
+ collection:
|
|
Karsten Hopp |
88ed77 |
/*
|
|
Karsten Hopp |
88ed77 |
* Glue is emitted between several atoms from the [].
|
|
Karsten Hopp |
88ed77 |
* It is either NFA_OR, or NFA_CONCAT.
|
|
Karsten Hopp |
88ed77 |
*** ../vim-7.3.1005/src/version.c 2013-05-22 23:00:34.000000000 +0200
|
|
Karsten Hopp |
88ed77 |
--- src/version.c 2013-05-23 22:23:07.000000000 +0200
|
|
Karsten Hopp |
88ed77 |
***************
|
|
Karsten Hopp |
88ed77 |
*** 730,731 ****
|
|
Karsten Hopp |
88ed77 |
--- 730,733 ----
|
|
Karsten Hopp |
88ed77 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
88ed77 |
+ /**/
|
|
Karsten Hopp |
88ed77 |
+ 1006,
|
|
Karsten Hopp |
88ed77 |
/**/
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
--
|
|
Karsten Hopp |
88ed77 |
BLACK KNIGHT: I'm invincible!
|
|
Karsten Hopp |
88ed77 |
ARTHUR: You're a looney.
|
|
Karsten Hopp |
88ed77 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
88ed77 |
|
|
Karsten Hopp |
88ed77 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
88ed77 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
88ed77 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
88ed77 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|