An Efficient Algorithm for Regular Expression Matching Using Variable-length-gram Inverted Index | AMiner