标题 | 阅读 | 评论 | 转发 | 发布日期 | |
---|---|---|---|---|---|
myEclipse 8.5 常用快捷键 | 1259 | 0 | 0 | 2012-11-20 | |
centos 5.2 svn 独立运行服务器安装 配置 | 191 | 0 | 0 | 2012-11-14 |
py超级菜鸟2013-03-10 23:26
Within a character list, a "range expression" consists of two
characters separated by a hyphen. It matches any single character that
sorts between the two characters, using the locale's collating sequence
and character set. For example, in the default C locale, `[a-dx-z]' is
equivalent to `[abcdxyz]'. Many locales sort characters in dictionary
order, and in these locales, `[a-dx-z]' is typically not equivalent to
`[abcdxyz]'; instead it might be equivalent to `[aBbCcDdxXyYz]', for
example. To obtain the traditional interpretation of bracket
expressions, you can use the C locale by setting the `LC_ALL'
environment variable to the value `C'.