Skip to content
Commits on Nov 16, 2011
Commits on Nov 13, 2011
  1. print_tree() printed ENCLOSE_OPTION target twice

    Suraj N. Kurapati committed Nov 12, 2011
    There is a bug in Oniguruma 5.9.2 in print_tree() in regcomp.c
    causing it to printing the child of ENCLOSE_OPTION node twice:
    
      PATTERN: /a(?v:b)c/ (ASCII-8BIT)
      <list:965430>
         <string:96af40>a
         <enclose:965570> option:4096
            <quantifier:965520>{0,1}      <=== OK.  Printed once.
               <string:965480>b
    
            <quantifier:965520>{0,1}      <=== Bug!  Printed twice.
               <string:965480>b
         <quantifier:96c830>{0,-1}?
            <anychar:96ae00>
         <string:96c920>c
    
    This patch fixes the bug.
  2. import onig-5.9.2.tar.gz

    Suraj N. Kurapati committed Nov 13, 2011
Something went wrong with that request. Please try again.