Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:

> i want to apply a regex on a list of strings. 

The example you give doesn't include a list of strings, it has some unknown 
"entity" object with an unknown "trigger" attribute. Please refactor the code 
to remove the use of a class we don't have access to. You may find that 
entity.trigger does not contain what you think it contains.

----------
nosy: +steven.daprano

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36158>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to