密码中字符类的数目。
要获得字符类的完整列表,请参阅适用于您的PHP版本的文档。
Consult the documentation for your version of PHP for a complete list of character classes.
例如,字符类[:punct:]表示当前语言环境中的所有标点字符。
For instance, the character class [: punct:] stands for all punctuation characters in the current locale.
可以将字符类看作是规则表达式的“原子”,通常会将那些原子组合成“分子”。
You can think of character classes as the "atoms" of regular expressions, and you will usually want to group those atoms into "molecules."
范围(Range):使用短线(dash)来指定包括一定范围字符的字符类。
Range: Use a dash to specify a character class for an inclusive range.
此外,许多regex实现都支持更易于跨多种编写语言使用和移植的预定义字符类。
In addition, many regex implementations support predefined classes of characters that are easier to use and portable across multiple written languages.
字符类(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.
Metaphone算法使用了16个辅音类,由下列字符代表。
The Metaphone algorithm USES 16 consonant classes represented by the following characters.
MicrosoftOutlook之类的程序默认的字体是Arial,但是像CenturyGothic类线条较细的字体形成字符只需要较少的色粉或墨水。
Programs like Microsoft Outlook default to Arial, but a thinner-lined typeface such as Century Gothic requires less toner or ink to form its characters.
类名可以包含字母、数字和下划线字符的任何组合,但不能以数字打头。
The class name can contain any combination of letters and Numbers, as well as the underscore character, but cannot begin with a number.
CharsetDecoder:这个类定义了一个引擎,这个引擎可以将采用特定字符集的字节序列转换为16位Unicode字符序列。
Java.nio.charset.CharsetDecoder: This class defines an engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.
可以通过将类括在方括号内来表明这是一个类;在括号中,可以有一组字符或者用破折号指定的字符范围。
You can indicate a class by surrounding it in square braces; within the braces, you can have both a set of characters and character ranges indicated with a dash.
CharsetEncoder:这个类定义了一个引擎,这个引擎可以将16位Unicode字符序列转换为采用特定字符集的字节序列。
Java.nio.charset.CharsetEncoder: This class defines an engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.
请考虑清单1中的简单字符串类。
清单10为字符串类定义一个测试套件。
Look at Listing 10, which defines a test suite for your string class.
我发现在MicrosoftWindows中使用Xerces内部字符串类有一个问题。
I discovered a problem using the Xerces internal string class on Microsoft Windows.
为了保持连续性,先回顾一下本系列第1部分中讨论过的字符串类(见清单2)。
For the sake of continuity, recall the poorly designed string class discussed in part 1 of this series (see Listing 2).
然后使用该字符串调用Simpsons类来搜索剧集。
Then use that string to call the Simpsons class to search the episodes.
事实上,字符串对象是str类的一个实例。
JAXB根据XMLschema中xsd:string构造的用法,仍然会生成接受字符串参数的类。
JAXB is still going to generate a class that accepts a string argument, based on the usage of the XSD: string construct in your XML Schema.
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.
下面列出了XML配置文件的一个片段,它展示了如何覆盖一个SQL字符串和用户定义bean类映射。
A fragment of the XML configuration file is listed below, showing how one of the SQL strings and the user-defined bean class mapping are overridden.
一个字符串常量识别一个特定事件,一个事件类中可以有一个或多个常量。
A string constant identifies the specific event, and you can have one or more constants in each event class.
该脚本的第一行代码实例化了一个新的Sql对象:设置JDBC连接字符串、用户名、密码和 JDBC驱动器类。
The first line of this script instantiates a new Sql object by setting the JDBC connection string, username, password, and JDBC driver 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.
因为系统中这种特殊类型的字符串具备特殊的含义和行为,因此,它被封装在ButterflyXmlString类中(参见清单7)。
Since this particular kind of string has special meaning and behavior in the system, it's encapsulated in the ButterflyXmlString class (see Listing 7).
另外,URLEncoder和URLDecoder类都支持使用程序员指定的字符集进行编码和解码。
In addition, the URLEncoder and URLDecoder classes support working with programmer-specified character sets for encoding and decoding.
SQL状态的前两个字符是一个类值,后三个字符形成子类值。
The first two characters of the SQL state are a class value, and the last three characters form a subclass value.
它用于诸如字符串常量和类之类的对象。
您可以使用任意一类引号来表示Python中的字符串,只要引号一致就行。
You can use either type of quotation mark to indicate a string in Python, as long as you're consistent.
应用推荐