Parcourir la source

Retrait des \b pour le flag

Julien Vaubourg il y a 12 ans
Parent
commit
0677c8c325
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      fdnTopicAddBot/fdn-accbot.pl

+ 1 - 1
fdnTopicAddBot/fdn-accbot.pl

@@ -62,7 +62,7 @@ sub topic {
 	my $args = shift;
 
 	if($args->{"topic"}) {
-		if($args->{"topic"} =~ /\b\Q$flag\E\s*(.+)\b$/i) {
+		if($args->{"topic"} =~ /\Q$flag\E\s*(.+)$/i) {
 			$isacc = 1;
 
 			open(OUT, ">$file");