Multi-mode regular expression matching method and apparatus
An expression matching and expression technology, which is applied in the field of network security, can solve problems such as large data volume, affecting matching performance, and poor filtering effect, and achieve the effects of reducing the pass rate, improving the filtering effect, and maximizing the filtering speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0101] Example 1: Regular expression
[0102] "(20[01][\\x09-\\x0d-~]*(AUTH IN FO U SE R|new s)finger" can be divided into "20, [01][\\x09-\\x0d-~ ]*(AUTH IN FO U SE R|new s), 3 character strings of finger". The first "20" and the last "finger" are exact strings, the middle "[01][\\x09 -\\X0d-~]*(AUTH IN FO U SE R|new s)" is a fuzzy character string.
[0103] After the segmentation, the fuzzy character string can also be further determinized. Next, the determinization process of the fuzzy character string will be explained by way of examples.
[0104] The determinization method is to further determinize some fuzzy strings of specific composition. The implementation principles are: simple operation, no reduction of semantic coverage, merging of adjacent precise strings, and controllable number of divided strings. For example, it can be implemented step by step:
[0105] (1) For ambiguous strings containing suffix characters or phrases, determine them into strings that carry precise c...
example 2
[0106] Example 2: The regular expression "abc{3,10}de" is divided into "ab,c{3,10},de", and c{3,10} is determined as cccc{0, after fuzzy string determinization, 7}, then merge it with the exact string "ab" adjacent to the left to get "abccc,c{0,7},de".
[0107] For another example, "a+" is determined as "aa*", and the exact character after the determination is merged with the exact character string obtained by the adjacent segmentation.
example 3
[0108] Example 3: Split the regular expression "abc+de" into "ab, c+, de", determine the fuzzy string "c+" into "cc*", and then divide it according to the position of the split string Combine with the adjacent exact string "ab" to get "abc, c*, de";
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com