Compare commits

...

2 Commits

Author SHA1 Message Date
d43d1ba212 4.0.6 2023-06-26 09:57:32 +02:00
65e771f1ba fix(core): update 2023-06-26 09:57:32 +02:00
4 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartstring",
"version": "4.0.5",
"version": "4.0.6",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartstring",
"version": "4.0.5",
"version": "4.0.6",
"license": "MIT",
"dependencies": {
"@pushrocks/isounique": "^1.0.5",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartstring",
"version": "4.0.5",
"version": "4.0.6",
"private": false,
"description": "handle strings in smart ways. TypeScript ready.",
"main": "dist_ts/index.js",

View File

@ -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.'
}

View File

@ -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;
};