Function __global->simulated_wildcard_match
Definitions
sources/global2.php
- Do a wildcard match by converting to a regular expression.Supports the '%' and '_' wildcards and '\' escaping of them (as per most SQL implementations of LIKE).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$target | string | required parameter | N/A | N/A | The haystack |
$expression | string | required parameter | N/A | N/A | The needle (a wildcard expression) |
$full_cover | boolean | False | N/A | N/A | Whether full-coverage is required |
$case_sensitive | boolean | False | N/A | N/A | Whether it is case sensitive |
Return
- Whether we have a match
- Type: boolean
- Set: N/A
- Range: N/A
sources/minikernel.php
- Do a wildcard match by converting to a regular expression.Supports the '%' and '_' wildcards and '\' escaping of them (as per most SQL implementations of LIKE).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$target | string | required parameter | N/A | N/A | The haystack |
$expression | string | required parameter | N/A | N/A | The needle (a wildcard expression) |
$full_cover | boolean | False | N/A | N/A | Whether full-coverage is required |
$case_sensitive | boolean | False | N/A | N/A | Whether it is case sensitive |
Return
- Whether we have a match
- Type: boolean
- Set: N/A
- Range: N/A