• Show log

    Commit

  • Hash : b055a6b5
    Author : Edward Thomson
    Date : 2019-01-13T01:24:39

    tests: regex: add test with LC_COLLATE being set
    
    While we already have a test for `p_regexec` with `LC_CTYPE` being
    modified, `regexec` also alters behavior as soon as `LC_COLLATE` is
    being modified. Most importantly, `LC_COLLATE` changes the way how
    ranges are interpreted to just not handling them at all. Thus, ensure
    that either we use `regcomp_l` to avoid this, or that we've fallen back
    to our builtin regex functionality which also behaves properly.