还可以使用许多命名字符类来确定您的平台和国家语言。
You can also use a number of named character classes that will be accurate for your platform and national language. Some examples
最简单的字符类就是单个字符,它在模式中只是一个字。
The simplest character class is a single character, which is just included in the pattern as a literal.
例如,字符类[:punct:]表示当前语言环境中的所有标点字符。
For instance, the character class [: punct:] stands for all punctuation characters in the current locale.
模糊逻辑用于确定各字符类的隶属值以保证字符的正确预分类。
In order to ensure correct character preclassification, a fuzzy-logic app roach is used to assign a membership to each typographical category for ambiguous classes.
可以将字符类看作是规则表达式的“原子”,通常会将那些原子组合成“分子”。
You can think of character classes as the "atoms" of regular expressions, and you will usually want to group those atoms into "molecules."
此外,许多regex实现都支持更易于跨多种编写语言使用和移植的预定义字符类。
In addition, many regex implementations support predefined classes of characters that are easier to use and portable across multiple written languages.
与新字符类,威望课,伟绩一起,拼写,和魔术项目,完成骑狗也提供适合跑一次吉祥物集中的战役的指南。
Along with new character classes, prestige classes, feats, spells, and magic items, Complete Riding Dog also provides guidelines for running a mascot-focused campaign.
字符类(Characterclass):一个字符类就是方括号内的一个字符集,其中,匹配可以是括号内的任意一个字符。
Character classes: a character class is a set of characters within square brackets where a match would be any one character within the brackets.
Posix字符类(Posix character class):某些字符类仅在用于US - ASCII比较时才有效。
Posix character classes: Certain character classes are valid for only US-ASCII comparison purposes. For instance.
可以启动shell并开始运行Apacheaxis类,但是我们发现启动每个命令要使用100个字符以上的类路径是很不方便的。
You can launch a shell and start running the Apache Axis classes, but we find it inconvenient to start each command with a 100 + character class path.
Metaphone算法使用了16个辅音类,由下列字符代表。
The Metaphone algorithm USES 16 consonant classes represented by the following characters.
在重构后,所有对这个类中的数字或字符串文字的使用都将指向该字段,而不是指向数字或字符串文字本身。
After the refactoring, all USES of that number or string literal in the class refer to that field, instead of the number or string literal itself.
我添加了一个字符串名称、一个端口类变量,还有两个函数:构造器和服务器。
I add a string name and port class variable and then two functions: a constructor and the server.
我现在能向这新的空类填充属性,诸如字符串和数字类型(代表了角色的成分),以及这个类中常用的函数。
I can now fill the new empty class with attributes such as string and number types (representing the elements of the character), as well as functions common to this class.
或许避免在程序执行期间创建这些类的最佳方式在于,避免在应用程序的时间关键型部分使用反射服务来从字符串映射类、字段或方法。
Probably the best way to avoid their creation during the program is to avoid using reflection services to map class, field, or methods from strings during the time-critical parts of your application.
如果您尝试将一个类文件作为文本输出或查看,那么通常会看到上述形式的多个字符串,每个字符串都是对某个类的引用。
If you try to print or view a class file as text, you'll generally see many strings of this type, each a reference to some class.
为了保持连续性,先回顾一下本系列第1部分中讨论过的字符串类(见清单2)。
For the sake of continuity, recall the poorly designed string class discussed in part 1 of this series (see Listing 2).
如果需要其他的数据类型,比如说整数、浮点数或者布尔值,必须使用相应的包装器类来解析字符串。
If you need another data type such as integer, floating point, or Boolean value, you will have to parse the string using the appropriate wrapper class.
它用于诸如字符串常量和类之类的对象。
在生成的XML中对象名变成了元素名,类中的字符串组成了XML中的元素内容。
Object names become element names in the XML produced, and the strings within classes form the element content of the XML.
正如您看到的,使用强类型资源类访问资源文件中的字符串比较简单。
As you can see, accessing strings from a resource file using a strongly typed resource class is pretty easy.
在基于MIDP 的应用程序上支持XML 很困难,因为CLDC基类中的字符串功能很有限。
Supporting XML on MIDP-based applications is difficult due to the limited string functions in CLDC base classes.
类名应该简洁且意义清晰,不要加入任何不必要的字符。通常,在准备HTML时,总能很快确定适当的类名。
Name the classes briefly and clearly, so you don't need to key in any unnecessary characters, yet you can always immediately select the right classes as you prepare your HTML.
SQL状态的前两个字符是一个类值,后三个字符形成子类值。
The first two characters of the SQL state are a class value, and the last three characters form a subclass value.
我发现在MicrosoftWindows中使用Xerces内部字符串类有一个问题。
I discovered a problem using the Xerces internal string class on Microsoft Windows.
Pattern先保存要使用的表达式,然后将其传递给Matcher 类以便在字符序列的上下文中检查其匹配情况。
This expression is then retained by the Pattern class before it is passed on to the Matcher class to check for matches in the context of a character sequence.
使用传递给该方法的xpath字符串调用evaluate,在类的构造函数中构建的dom树和常量指示将结果作为一组节点返回。
Evaluate is called with the XPath string passed into the method, the DOM tree you built in the class's constructor, and the constant indicating to return results as a list of nodes.
jBPM提供了2类不同的API来设置参与者池:一类接收字符串id数组,另一类则接收id集合。
JBPM provides two different APIs for setting pooled actors - one taking a string array of ids and another taking a set of ids.
jBPM提供了2类不同的API来设置参与者池:一类接收字符串id数组,另一类则接收id集合。
JBPM provides two different APIs for setting pooled actors - one taking a string array of ids and another taking a set of ids.
应用推荐