|
|
|
|
|
by handoflixue
1840 days ago
|
|
> ‘*’ is fewer characters. yes, but that produces false positives, whereas both 'apex|ibex|index' and '(ap|ib|ind)ex' do not. Your original claim was that 'apex|ibex|index' was "simplest", which means it has some property you think that '(ap|ib|ind)ex' lacks, but you haven't yet articulated what that IS. |
|
And the simplest to produce algorithmically.
To prove it, extend each regex to include “indices”.
Being less clever, it is simpler to debug.