正则表达式基本上就是为进行文本处理而构建的一种小型的子语言,用来进行字符串的匹配和替换。
Regular expressions are basically a small sub-language built for text processing, used to match and replace strings of characters.
这个例外就是xsl:sort指令,它的lang属性告诉处理程序应该按照和指定语言的文化传统一致的方式排序字符串。
The exception is the XSL: sort instruction, where the lang attribute tells the processor that it should sort strings in a manner consistent with the cultural conventions of the specified language.
对ES5的支持包括新的数组与object方法,此外还对语言进行了增强以便处理字符串与日期。
This support for ES5 includes new array and object methods, as well as other language enhancements for working with strings and dates.
或许,作为一门文本处理语言,Rexx的最强大之处在于它所具备的实用的内置字符串处理函数。
Perhaps the greatest strength in Rexx as a text processing language is its useful collection of built-in string manipulation functions.
当要编写规则处理多个相似的设备时,udev可以使用类似C语言的printf函数中的字符串替换操作符。
When writing rules which will potentially handle multiple similar devices, udev's printf-like string substitution operators are very useful.
例如它恰好,处理字符串,比处理数字更有效率,但是它确实是一种面向面很广的语言。
It happens to be better suited for manipulating strings than Numbers, for example, but it's really a general-purpose language.
现在我们处理的不是C语言和它的数组,我们想用字符串偏移量,所以我们需要一个哈希函数,为每个键值计算出一个数值。
Now we're not dealing with C and C arrays but also want to use string offsets so we need a function to calculate a numeric value, a hash, for each key.
我们觉得,缺乏统一性是导致现有许多C 语言字符串处理函数容易产生安全漏洞的根本原因,而strsafe 系列函数所带来的高度统一性恰恰是解决此问题的一剂良药。
We feel it is a lack of uniformity that makes many existing C runtime string-handling functions susceptible to security errors, and the extra consistency in strsafe should help remedy the problem.
它的数值处理能力很强(尤其是处理复数的能力),不过处理字符串的能力较弱,学习和使用这种语言的难度适中。
Its numerical abilities are strong (particularly its ability to handle complex Numbers) although it is weak in handling character strings. It is of moderate difficulty to learn and use.
表4-1列出了C 语言标准库提供的一系列处理C 风格字符串的库函数。
The Standard C library provides a set of functions, listed in Table 4.1, that operate on C-style strings.
另一个说明正则表达式非常有用的示例是一种其字符串处理能力还不为人所知的语言。
Another example of where a regular expression is useful occurs in a language that isn't known for its string-handling ability.
另一个说明正则表达式非常有用的示例是一种其字符串处理能力还不为人所知的语言。
Another example of where a regular expression is useful occurs in a language that isn't known for its string-handling ability.
应用推荐