我想在variable里面用一个regex,我怎么能这样做Python呢?
variable
regex
Python
TEXTO = sys.argv[1] if re.search(r"\b(?=\w)TEXTO\b(?!\w)", subject, re.IGNORECASE): # Successful match else: # Match attempt failed
python regex variables escaping python-3.x
escaping ×1
python ×1
python-3.x ×1
regex ×1
variables ×1