Edit

kc3-lang/libxml2/test/regexp/issue301

Branch :

  • Show log

    Commit

  • Author : Nick Wellnhofer
    Date : 2021-12-20 00:34:58
    Hash : ea6e8f99
    Message : Fix certain combinations of regex range quantifiers Fix regex transitions that have both min/max and a counter. In this case, we want to save the regex state before incrementing the counter. Fixes #301 and the issue reported here: https://mail.gnome.org/archives/xml/2016-April/msg00017.html

  • test/regexp/issue301
  • =>(a{1,2}|ab){2}
    abab
    =>((1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])
    192.168.254.0