fix(core): update
This commit is contained in:
parent
5825a602ed
commit
65e771f1ba
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartstring',
|
||||
version: '4.0.5',
|
||||
version: '4.0.6',
|
||||
description: 'handle strings in smart ways. TypeScript ready.'
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ export class GitRepo {
|
||||
* ---------------------------------------------- */
|
||||
const gitRegex = function (stringArg: string) {
|
||||
const regexString =
|
||||
/([a-zA-Z0-9\-\.]*)(?:\/|\:)([a-zA-Z0-9\-\.]*)(?:\/)([a-zA-Z0-9\-\.]*)(?:\.git)/;
|
||||
/([a-zA-Z0-9\-_\.]*)(?:\/|\:)([a-zA-Z0-9\-_\.]*)(?:\/)([a-zA-Z0-9\-_\.]*)(?:\.git)/;
|
||||
let regexMatches = regexString.exec(stringArg);
|
||||
return regexMatches;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user