| @@ -30,5 +30,15 @@ | ||
| 30 | 30 | public function record() |
| 31 | 31 | { |
| 32 | 32 | return $this->csv_record; |
| 33 | 33 | } |
| 34 | + | |
| 35 | + public function query_matches($matches) | |
| 36 | + { | |
| 37 | + // make sure the selector is numeric {0} | |
| 38 | + if (isset($matches[0]) && preg_match('/^\d+$/', $matches[1]) === 1) { | |
| 39 | + return parent::query_matches($matches); | |
| 40 | + } | |
| 41 | + | |
| 42 | + return $matches[0]; | |
| 43 | + } | |
| 34 | 44 | } |