UNPKG
@samlevy/string-helpers
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.1
1.0.0
Basic string helper functions
github.com/samlev/string-helpers
samlev/string-helpers
@samlevy/string-helpers
/
dist
/
regex
/
path.d.ts
10 lines
(9 loc)
•
248 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * Converts a path string with wildcards (e.g. `*.example.com`) to a regular expression. * *
@param
str
*
@param
start
*
@param
end
*/
declare
const
_default
:
(
str
:
string
,
start
?:
string
,
end
?:
string
) =>
RegExp
;
export
default
_default;