mirror of
https://github.com/facebook/duckling.git
synced 2024-11-28 00:31:28 +03:00
ec39c21593
Summary: The current regexp matches sequences of numbers of unbounded length with lots of backtracking. Since phone numbers are shorter than X=20 characters we can put a bound on every currently unbounded match. Additionally we can use groups that don't capture, to avoid marshalling data that we won't need. Reviewed By: JonCoens Differential Revision: D4706862 fbshipit-source-id: 39ca9bb |
||
---|---|---|
.. | ||
Corpus.hs | ||
Rules.hs | ||
Tests.hs | ||
Types.hs |