M
mike
Hi,
I am using the following to find matches in a file.
open( PLUGINS, $pluginsBase ) or die "can't open $pluginsBase, $!\n";
while (<PLUGINS>) {
#Since list command shows both enabled and disabled versions of the plugin. Exclude disabled version in version check.
if ( /\$id/ && !/disable/ ) {
}
}
Problem I have is that when $id is equal to org.erlide it will also match contents of the file like:
org.erlide.trace
org.erlide.debug
How can I match the exact:
org.erlide
Nothing more nothing less.
br,
//mike
I am using the following to find matches in a file.
open( PLUGINS, $pluginsBase ) or die "can't open $pluginsBase, $!\n";
while (<PLUGINS>) {
#Since list command shows both enabled and disabled versions of the plugin. Exclude disabled version in version check.
if ( /\$id/ && !/disable/ ) {
}
}
Problem I have is that when $id is equal to org.erlide it will also match contents of the file like:
org.erlide.trace
org.erlide.debug
How can I match the exact:
org.erlide
Nothing more nothing less.
br,
//mike