因此,这个过滤器只允许数值char,而会丢弃换行字符。
Thus, the filter only allows in chars that are numeric digits, discarding the newline characters.
在本例中,使用换行字符符号生成了一种“多行”提示符。
In this example, the newline character token is used to generate a kind of "multi-line" prompt.
缺省分隔符为X'0 A ',此字符表示单个换行字符。
因为有了换行字符,所以用户输入就跑到了提示内容下面去了。
因此,如果新行嵌入字段很重要,输入应分成在其中保留换行字符的方式。
As a consequence, if newlines embedded within fields are important, the input should be split into lines in a manner which preserves the newline characters.
这使print语句打印字符值时后面跟着空格字符,而不是换行字符。
This makes the print statement print out the character value, followed by a space character instead of a newline character.
它利用的是有关原子数据平面结构、元素之间换行字符的存在以及其他特性的特殊知识。
It exploits special knowledge about the flat structure of the atom data, the existence of newline characters between elements, and other characteristics.
通常需要两到三个字符,这些字符你们在屏幕上是,看不到的,这个是换行字符。
Usually with just two, maybe three characters, a character that you can't really see as well on the screen, otherwise, so a new line character.
如果没有指定自定义分隔符,则使用缺省的X'0 A ',此字符表示单个换行字符。
If no custom delimiter is specified, then the default of X '0a' is used, which represents a single line feed.
由其名称可以明显看出,display是打印出参数的函数,而newline是只打印出一个回车换行字符的函数。
As is obvious from their names, display is a function that prints out its argument and newline is a function that simply prints out an end-of-line character.
当代码缩小则是所有评论意见都将删除,以及不必要的空白字符(空间、换行符和选项卡)。
When code is minified all comments are removed, as well as unneeded white space characters (space, newline, and TAB).
保留字符内容中的所有空白(不包括换行规范化过程中删除的字符)。
All whitespace in character content is retained (excluding characters removed during line feed normalization).
一个补集合可以匹配换行符,除非换行符被指定为补集合中的一个字符。这不同 于某些象“grep”的程序对正则表达式的处理。
contrast to the handling of regexps in programs such as `grep'.
因为有这个限制,数据字符串必须不包含任何换行符。
Because of this restriction, the data string must not contain any line breaks.
要知道甚至这个测试都有缺点,因为它假定短语包括空格并且可以自动换行;但对于一些基于非拉丁字符的语言,情况并非如此。
Recognize that even this test has a weakness, since it assumes that phrases will include spaces and can word wrap; this is not true for some non-Latin character-based languages.
然后,它使用空格替换换行、下划线和连字符。
Then it replaces line breaks, underscores, and hyphens with blanks.
仔细研究二者的差别,尤其要注意加引号的形式和包含空白(如空格字符和换行符)的参数。
Study the differences carefully, particularly for the quoted forms and the parameters that include white space such as blanks or newline characters.
但您不知道单词由什么分隔,是空格、换行符、制表符还是这些字符的组合。
But you don't know whether the words are separated by Spaces, line breaks, tabs, or some combination of these.
正如清单3中所阐述的,多余的字符要么换行要么截断。
As illustrated in Listing 3, the additional characters can either be wrapped or truncated.
标志是用来控制替换行为的单个字符。
The flags are single characters that control the substitution's behavior.
注意,\字符表示用于格式化目的的换行符。
Note that the \ characters are to indicate a line break for formatting purposes.
从内部机制看,在创建字符串时换行符会被忽略,在打印字符串时可以看出这一点。
Internally, the newline character is ignored when creating the string, as is shown when the string is printed.
例如,如果您想要导出一些Wiki页面,您会希望保留一些字符的原始位置,如回车符和换行符,因为这些字符在wiki格式中有特殊的作用。
For example, if you export Wiki pages, you will want to retain the exact positions of characters like return and line-feed because those are given special attention in the Wiki format.
在Python版本2. x中,raw _ input会从标准输入(sys . stdin)读取一个输入并返回一个字符串,且尾部的换行符从末尾移除。
In Python version 2.x, raw_input reads an input from standard input (sys.stdin) and returns a string with the trailing newline character stripped from the end.
随后使用换行符前面的最后6个字符再加上制表符来替换换行符前面的所有行内容。
We then substitute all of the line up to the newline with the last six characters before the newline plus a TAB character.
注意,xml变量受到了针对内部引号和换行符的转义字符的污染。
Notice that the xml variable is polluted with escape characters for the internal quotes and newlines.
s——空白字符,如制表符或换行符。
因它是从命令行被发送到Scilab,所以必须要通过删除它们(或者更为准确地说,用空字符串来代替它们)来清理换行。
As it is being sent to Scilab from the command line, you must clean up newlines by deleting them (or, more accurately, replacing them with empty strings).
因它是从命令行被发送到Scilab,所以必须要通过删除它们(或者更为准确地说,用空字符串来代替它们)来清理换行。
As it is being sent to Scilab from the command line, you must clean up newlines by deleting them (or, more accurately, replacing them with empty strings).
应用推荐