- regex end line anchor fix
This commit is contained in:
vsemenov 2026-02-17 17:28:16 +03:00
parent b43f731b0a
commit 56cb853bb4
No known key found for this signature in database
GPG key ID: 0DBEAC95BA38C9EF
4 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
{
"id": "jira-sync",
"name": "Jira Issue Manager",
"version": "1.4.1",
"version": "1.4.2",
"minAppVersion": "1.10.1",
"description": "Get Jira issues, create and update them. Issue status and worklog management.",
"author": "Alamion",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-sample-plugin",
"version": "1.4.1",
"version": "1.4.2",
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
"main": "main.js",
"scripts": {
@ -29,7 +29,7 @@
"concurrently": "^9.2.1",
"esbuild": "0.25.0",
"husky": "^9.1.7",
"lodash": "^4.17.21",
"lodash": "^4.17.23",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "4.7.4"

View file

@ -1,6 +1,6 @@
import { debugLog } from "./debugLogging";
const UNIFIED_REGEX = /`jira-sync-(section|line|inline-start|block-start)-([\w-]+)`([\s\S]*?)(?:`jira-sync-?[^-]*-end`|(?=`jira-sync-|\z))/g; // TODO: delete deprecated endings in a year
const UNIFIED_REGEX = /`jira-sync-(section|line|inline-start|block-start)-([\w-]+)`([\s\S]*?)(?:`jira-sync-?[^-]*-end`|(?=`jira-sync-|$))/g; // TODO: delete deprecated endings in a year
interface ParsedBlock {
type: "section" | "line" | "inline" | "block";

View file

@ -659,10 +659,10 @@ jsonfile@^6.0.1:
optionalDependencies:
graceful-fs "^4.1.6"
lodash@^4.17.21:
version "4.17.21"
resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
lodash@^4.17.23:
version "4.17.23"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.23.tgz#f113b0378386103be4f6893388c73d0bde7f2c5a"
integrity sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==
merge2@^1.3.0, merge2@^1.4.1:
version "1.4.1"