Hello,
I need to work with a python API I've been provided but I'm not that familar with python. I need a python regexp that will extract the "key", "value" and "comment" from this line of php:
define('DB_PASSWORD', 'password'); // ...and password
DB_PASSWORD is the key, password is the value and the // ... is the comment.
TIA
I need to work with a python API I've been provided but I'm not that familar with python. I need a python regexp that will extract the "key", "value" and "comment" from this line of php:
define('DB_PASSWORD', 'password'); // ...and password
DB_PASSWORD is the key, password is the value and the // ... is the comment.
TIA