Abstract
A linear time algorithm is presented for testing determinism of a regular expression. It is shown that an input word of length n can be matched against a deterministic regular expression of length m in time O(m + n log logm). If the deterministic regular expression has bounded depth of alternating union and concatenation operators, then matching can be performed in time O(m + n). These results extend to regular expressions containing numerical occurrence indicators.
Original language | English |
---|---|
Pages (from-to) | 372-399 |
Number of pages | 28 |
Journal | Journal of Computer and System Sciences |
Volume | 89 |
Early online date | 20 Jun 2017 |
DOIs | |
Publication status | Published - 1 Nov 2017 |