Index: trunk/phase3/api.php |
— | — | @@ -68,11 +68,13 @@ |
69 | 69 | |
70 | 70 | // Selectively allow cross-site AJAX |
71 | 71 | |
72 | | -/* |
| 72 | +/** |
73 | 73 | * Helper function to convert wildcard string into a regex |
74 | 74 | * '*' => '.*?' |
75 | 75 | * '?' => '.' |
76 | | - * @ return string |
| 76 | + * |
| 77 | + * @param $search string |
| 78 | + * @return string |
77 | 79 | */ |
78 | 80 | function convertWildcard( $search ) { |
79 | 81 | $search = preg_quote( $search, '/' ); |