mirror of
https://github.com/Didericis/bare-bundle-transform-plugin-babel.git
synced 2026-06-26 18:05:20 -04:00
11 lines
190 B
JavaScript
11 lines
190 B
JavaScript
/**
|
|
* Matches any unicode character between "foo" and "bar"
|
|
* @param {string} str
|
|
* @returns {boolean}
|
|
*/
|
|
function fooBar(str) {
|
|
return str.match(/\p{L}/gu)
|
|
}
|
|
|
|
module.exports = fooBar
|