It is trending on reddit! Awesome discussions there.... redd.it/7j3433
Hey Lilly,
Thanks for sharing.. Facing a simple problem with Trie re. Would love to switch though, if I get some help with this.
compiled_re = trie_regex_from_words(['c++']) print(compiled_re.findall('c++ is awesome')) compiled_re = trie_regex_from_words(['.Net']) print(compiled_re.findall('.NET is awesome')) # output: # [] # []
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It is trending on reddit! Awesome discussions there....
redd.it/7j3433
Hey Lilly,
Thanks for sharing.. Facing a simple problem with Trie re. Would love to switch though, if I get some help with this.