TheAlgorithms/Rust

String based algorithms panics on unicode characters

realstealthninja opened this issue · 3 comments

Many of the string algorithms where str.as_bytes() is used are prone to this error
so far i have tested and the issue is present with

  • duval_algorithm done in #685
  • knuth_morris_pratt done in #686
  • rabin_karp
  • z_algoritm

duval was fixed in the pr #685

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel. Thank you for your contributions!