+
    [«Ñgk  ã                   ó   € ^ RI t R tR# )é    Nc                ób   a€ \         P                  ! RP                  V 4      4      oRV3R llpV# )zÊReturns a trimmer function from a string of word characters.

TODO: lunr-languages ships with lists of word characters for each language
I haven't found an equivalent in Python, we may need to copy it.
z^[^{0}]*?([{0}]+)[^{0}]*?$c                 ó6   <€ RV3R llpV P                  V4      # )Nc                 óT   <€ SP                  V 4      pVf   V # VP                  ^4      # ©N)ÚmatchÚgroup)ÚsÚmetadatar   Úfull_res   && €Ú8/usr/lib/python3/dist-packages/lunr/languages/trimmer.pyÚtrimÚ/generate_trimmer.<locals>.trimmer.<locals>.trim   s)   ø€ Ø—M‘M !Ó$ˆEØŠ}Ø�Ø—;‘;˜q“>Ð!ó    r   )Úupdate)ÚtokenÚiÚtokensr   r   s   &&& €r   ÚtrimmerÚ!generate_trimmer.<locals>.trimmer   s   ø€ ÷	"ð �|‰|˜DÓ!Ð!r   )NN)ÚreÚcompileÚformat)Úword_charactersr   r   s   & @r   Úgenerate_trimmerr      s+   ø€ ô �jŠjÐ6×=Ñ=¸oÓNÓO€G÷"ð €Nr   )r   r   © r   r   Ú<module>r      s   ðÛ 	ôr   