简而言之,正则表达式描述字符串模式。
In a nutshell, a regular expression describes a string pattern.
它定义了描述字符串、变长数组以及类似的结构体的语言。
It defines language to describe strings, variable-length arrays, and similar structures.
在异常的描述字符串中,每个句子都应以句号结尾。
Each sentence in a description string of an exception should end in a period.
That is if I can write code that would solve all instances of smaller size strings, then what I just described isPalindrome will solve the larger size one.
然后我会描述如何处理大字符串,事实上这正是我所做的,我希望你能看看这边的这段代码,就是这个。
Numbers are there to do numeric things, strings are our fundamental way of representing textual information.
数字是用来描述数值的,字符串是表现,文本信息的基本方式。
应用推荐