Counting subwords and regular languages

From MaRDI portal




Abstract: Let x and y be words. We consider the languages whose words z are those for which the numbers of occurrences of x and y, as subwords of z, are the same (resp., the number of x's is less than the number of y's, resp., is less than or equal). We give a necessary and sufficient condition on x and y for these languages to be regular, and we show how to check this condition efficiently.









This page was built for publication: Counting subwords and regular languages

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q1622966)