Unlock instant, AI-driven research and patent intelligence for your innovation.

A matching method, device and equipment using regular expressions

A matching method and expression technology, applied in the computer field, can solve the problem of low matching efficiency of regular expressions, achieve the effect of reducing the number of times and improving matching efficiency

Active Publication Date: 2021-08-24
ADVANCED NEW TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This specification provides a matching method, device and equipment using regular expressions to solve the problem of low efficiency of matching using regular expressions in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A matching method, device and equipment using regular expressions
  • A matching method, device and equipment using regular expressions
  • A matching method, device and equipment using regular expressions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In the prior art, when using regular expressions to match text, it is necessary to compile each regular expression into a corresponding finite automaton, and then use each finite automaton to filter all texts in turn, but this specification will Regular expressions are combined to obtain a small number of combined regular expressions. Using the combined regular expressions to filter text can improve matching efficiency. .

[0031] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will describe the technical solutions in one or more embodiments of this specification in conjunction with the drawings in one or more embodiments of this specification The technical solution is clearly and completely described, and obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on the embodiments in this s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This specification discloses a matching method, device and equipment using regular expressions. The method combines a large number of first regular expressions to obtain a small number of second regular expressions, and then compiles each second regular expression into The corresponding finite automata, and finally match the text through the finite automaton. Since the number of the combined second regular expressions is less than that of the first regular expressions, the number of matching texts can be effectively reduced and the matching efficiency can be improved.

Description

technical field [0001] This description relates to the field of computer technology, in particular to a matching method, device and equipment using regular expressions. Background technique [0002] At present, matching data in text through regular expressions is a common method in the industry. [0003] Generally speaking, the number of regular expressions used for matching ranges from a few to dozens, and in the prior art, for each regular expression, it is necessary to use the regular expression to filter all text again. [0004] That is to say, if there are N regular expressions, each text will be filtered N times, which has a great performance problem in the case of a large amount of text and a large number of regular expressions. Therefore, a matching method using regular expressions is needed to improve matching efficiency. Contents of the invention [0005] This specification provides a matching method, device and equipment using regular expressions to solve the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/33
Inventor 温悦
Owner ADVANCED NEW TECH CO LTD