forked from Mirrors/doipjs
fix: fix regex errors
This commit is contained in:
parent
9bdc0a639f
commit
f724e81c06
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ export async function fn (data, opts) {
|
||||||
showErrors: false,
|
showErrors: false,
|
||||||
debug: false
|
debug: false
|
||||||
})
|
})
|
||||||
const reKey = /[a-zA-Z0-9\-_]+\s+:\s(openpgp4fpr|aspe:.*)/
|
const reKey = /[a-zA-Z0-9\-_]+\s+:\s((?:openpgp4fpr|aspe):.*)/
|
||||||
const reEnd = /End\sof\s.*\staxonomy./
|
const reEnd = /End\sof\s.*\staxonomy./
|
||||||
const keys = []
|
const keys = []
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ limitations under the License.
|
||||||
import * as E from '../enums.js'
|
import * as E from '../enums.js'
|
||||||
import { ServiceProvider } from '../serviceProvider.js'
|
import { ServiceProvider } from '../serviceProvider.js'
|
||||||
|
|
||||||
export const reURI = /^https:\/\/lobste\.rs\/(:?~|u\/)(.*)\/?/
|
export const reURI = /^https:\/\/lobste\.rs\/(?:~|u\/)(.*)\/?/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @function
|
* @function
|
||||||
|
|
Loading…
Reference in a new issue