I am trying to match the following line in python however this line is not working.
Example text is:
usr/local/java/latest/bin/java-Djava.util.logging.config.file=/usr/local/tomcat/foobarcode/conf/
Example python:
re.match(r"/usr/local/java/latest/bin/java[-]Djava[.]util[.]logging[.]config[.]file[=]/usr/local/tomcat/(\.*)/conf/\.*", pidInfo)
Any help that can be provided will be greatly appreciated. Thanks!
\.*would match a literal.0 or more times.