[Python-ideas] Re: Regular Expression | re - Support String List Input Type List[str]

2020-09-28 Thread Giang Le
Hi, I would like to have the same function re.search(pattern, input) to keep main code structure to be the same. The input into the re.search function will be depended on other previous functions. It is also more dynamic for users. Thank you. ___ Pytho

[Python-ideas] Regular Expression | re - Support String List Input Type List[str]

2020-09-28 Thread Giang Le
Hi Everyone, I would like to propose an idea for the regular expression module re.search(Pattern, Input) to support List[str] input type. So it will return a matched object list if the input is a string list. Otherwise, it will return a normal matched object, if the input is a normal string Be