Skip to content

actrie v2.0

Choose a tag to compare

@ifplusor ifplusor released this 03 Nov 07:33
ab18902

We support more types of pattern now, such as distance pattern, anti-ambiguous pattern, alternation pattern, and pure text pattern. And you can use them together.

Pattern Syntax

  1. pure text pattern: a
  2. alternation pattern: a|b|c
  3. anti-ambiguous pattern: a(?&!da)
  4. distance pattern: a.{0,3}b
  5. combined pattern: (a|b(?&!db1|db2)|c).{0,10}(d|e(?&!de)|f(?&!df1|df2))|g

We also provide python interface, you can use it in both python2 and python3.