Editing control method and device, equipment and storage medium
A control method and editing technology, applied in the field of artificial intelligence, can solve the problems that teachers cannot arrange programming homework and programming teaching is inconvenient
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0109] Matching example 1: Use the regular expression "runoo+b" to match runoob, runooob, or runoooooob, etc. Among them, the character "+" means that the previous character must appear at least once. For another example, the feature described by the regular expression "ab+" is "one 'a' and any number of 'b', then ab, abb, and abbbbbbbbbb all meet this feature.
example 2
[0110] Matching example 2: Use the regular expression "runoo*b" to match runob, runoob, or runoooooob, etc. Among them, the character "*" means that the previous character may not appear, or may appear one or more times. For example, the preceding character can appear 0, 1 or more times.
example 3
[0111] Matching example 3: Use the regular expression "colou?r" to match color or colour. Among them, the character "?" means that the previous character can only appear once at most. That is to say, the previous character can appear 0 or 1 time.
[0112] See the example above, a regular expression is a text pattern that can consist of ordinary characters as well as special characters. Special characters are also known as "metacharacters". For example, the characters "+", "*" and "?" in the above example are all "metacharacters". Ordinary characters may include all printable and non-printable characters not explicitly designated as metacharacters, such as the characters a through z. Normal characters can include all uppercase and lowercase letters, all numbers, all punctuation marks, or some other symbol. Ordinary characters in regular expressions can be used to match the same character when matching a string. In a regular expression, the pattern description is carrie...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


