This is my substring search workspace.

Please read the API documentation here__

__ https://docs.rs/twoway/

|buildstatus| |crates|_

.. |buildstatus| image:: https://travis-ci.org/bluss/twoway.svg?branch=master .. _buildstatus: https://travis-ci.org/bluss/twoway

.. |crates| image:: http://meritbadge.herokuapp.com/twoway .. _crates: https://crates.io/crates/twoway

Documentation

Fast substring search for strings and byte strings, using the two-way algorithm_.

This is the same code as is included in Rust's libstd to “power” str::find(&str), but here it is exposed with some improvements:

Recent Changes

License

MIT / APACHE-2.0

Interesting Links

.. _two-way algorithm: http://www-igm.univ-mlv.fr/~lecroq/string/node26.html

Notes

Consider denying 0/n factorizations, see http://lists.gnu.org/archive/html/bug-gnulib/2010-06/msg00184.html