Searched hist:221646 (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/tools/regression/bin/sh/builtins/
H A Dcase5.0221646 Sun May 08 09:32:56 MDT 2011 jilles sh: Add UTF-8 support to pattern matching.

?, [...] patterns match codepoints instead of bytes. They do not match
invalid sequences. [...] patterns must not contain invalid sequences
otherwise they will not match anything. This is so that ${var#?} removes the
first codepoint, not the first byte, without putting UTF-8 knowledge into
the ${var#pattern} code. However, * continues to match any string and an
invalid sequence matches an identical invalid sequence. (This differs from
fnmatch(3).)
/freebsd-9.3-release/tools/regression/bin/sh/expansion/
H A Dtrim8.0221646 Sun May 08 09:32:56 MDT 2011 jilles sh: Add UTF-8 support to pattern matching.

?, [...] patterns match codepoints instead of bytes. They do not match
invalid sequences. [...] patterns must not contain invalid sequences
otherwise they will not match anything. This is so that ${var#?} removes the
first codepoint, not the first byte, without putting UTF-8 knowledge into
the ${var#pattern} code. However, * continues to match any string and an
invalid sequence matches an identical invalid sequence. (This differs from
fnmatch(3).)
/freebsd-9.3-release/bin/sh/
H A Dexpand.cdiff 221646 Sun May 08 09:32:56 MDT 2011 jilles sh: Add UTF-8 support to pattern matching.

?, [...] patterns match codepoints instead of bytes. They do not match
invalid sequences. [...] patterns must not contain invalid sequences
otherwise they will not match anything. This is so that ${var#?} removes the
first codepoint, not the first byte, without putting UTF-8 knowledge into
the ${var#pattern} code. However, * continues to match any string and an
invalid sequence matches an identical invalid sequence. (This differs from
fnmatch(3).)

Completed in 116 milliseconds