摘要:
BOOK 1The Silent VoidThus spake the Master Programmer:"When you have learned to snatch the error code from the trap frame, it will be time for you to leave."1.1Something mysterious is formed, born in the silent void. waiting alone and unmoving, it is at once still and yet in constant motio 阅读全文
随笔分类 - 收集整理
正则表达式[转载整理]
2008-03-13 00:35 by Animax!, 270 阅读, 收藏,
摘要:
正则表达式列表 字符 描述 \ 将下一个字符标记为一个特殊字符、或一个原义字符、或一个 向后引用、或一个八进制转义符。例如,'n' 匹配字符 "n"。'\n' 匹配一个换行符。序列 '\\' 匹配 "\" 而 "\(" 则匹配 "("。 ^ 匹配输入字符串的开始位置。如果设置了 RegExp 对象的 Multiline 属性,^ 也匹配 '\n' 或 '\r' 之后的位置。 $ 匹配输入字符串的结... 阅读全文
浙公网安备 33010602011771号