Permalink
Browse files

Simplify and fix the {{multiplier}} regex

  • Loading branch information...
Jarry1250 committed Jun 21, 2017
1 parent 4e97094 commit 3c10d2f5310309e01385a34b2e3c1fa6dc015850
Showing with 1 addition and 1 deletion.
  1. +1 −1 script.php
View
@@ -94,7 +94,7 @@
if( preg_match(
'/^' . $categories[$i]['lineStart'] .
" *'*\[\[(.*?)(\]|\|).*?" .
'(Multiplier\|([0-9.]+|none)\|([0-9.]+|none)\|([0-9.]+|none)\}\})?(\w)*$/', $line, $bits
'(Multiplier\|([0-9.]+|none)\|([0-9.]+|none)\|([0-9.]+|none)\}\})?.*$/', $line, $bits
)
){
$bits = array_map( 'trim', $bits );

0 comments on commit 3c10d2f

Please sign in to comment.