NewsArchive
04-03-2009, 12:23 PM
Hi Friedrich,
I have to search in the registry for different services. The exact name
of the service is unknown, but there is a defined pattern. It would be
nice, if we can do that with a regular expression.
This could be done with two new compare functions:
- Equals RegEx (case sensitiv)
- Equals RegEx (case insensitiv)
Exmple:
If %TEMPSTRING% Equals RegEx (case insensitiv) "AIDA.*dienst.*" Then
Display Message Box "Das ist ein AIDA-Dienst." -- "Bingo!"
End
What do you think about it?
Markus
I have to search in the registry for different services. The exact name
of the service is unknown, but there is a defined pattern. It would be
nice, if we can do that with a regular expression.
This could be done with two new compare functions:
- Equals RegEx (case sensitiv)
- Equals RegEx (case insensitiv)
Exmple:
If %TEMPSTRING% Equals RegEx (case insensitiv) "AIDA.*dienst.*" Then
Display Message Box "Das ist ein AIDA-Dienst." -- "Bingo!"
End
What do you think about it?
Markus