Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pymdown-extensions for
openSUSE:Factory checked in at 2026-07-06 12:35:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymdown-extensions (Old)
and /work/SRC/openSUSE:Factory/.python-pymdown-extensions.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymdown-extensions"
Mon Jul 6 12:35:25 2026 rev:25 rq:1363993 version:11.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pymdown-extensions/python-pymdown-extensions.changes
2026-06-25 17:14:06.863004982 +0200
+++
/work/SRC/openSUSE:Factory/.python-pymdown-extensions.new.1982/python-pymdown-extensions.changes
2026-07-06 12:37:50.262884658 +0200
@@ -1,0 +2,9 @@
+Sat Jul 4 09:11:56 UTC 2026 - BenoƮt Monin <[email protected]>
+
+- update to version 11.0.1:
+ * FIX: BetterEm: Fix regex pattern inefficiencies.
+ * FIX: Tilde: Fix regex pattern inefficiencies.
+ * FIX: Caret: Fix regex pattern inefficiencies.
+ * FIX: MagicLink: Fix regex pattern inefficiencies.
+
+-------------------------------------------------------------------
Old:
----
pymdown-extensions-11.0.tar.gz
New:
----
pymdown-extensions-11.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymdown-extensions.spec ++++++
--- /var/tmp/diff_new_pack.Sa46Y7/_old 2026-07-06 12:37:51.426925105 +0200
+++ /var/tmp/diff_new_pack.Sa46Y7/_new 2026-07-06 12:37:51.430925244 +0200
@@ -20,7 +20,7 @@
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-pymdown-extensions
-Version: 11.0
+Version: 11.0.1
Release: 0
Summary: Extension pack for Python Markdown
License: MIT
++++++ pymdown-extensions-11.0.tar.gz -> pymdown-extensions-11.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pymdown-extensions-11.0/docs/src/markdown/about/changelog.md
new/pymdown-extensions-11.0.1/docs/src/markdown/about/changelog.md
--- old/pymdown-extensions-11.0/docs/src/markdown/about/changelog.md
2026-06-23 04:26:17.000000000 +0200
+++ new/pymdown-extensions-11.0.1/docs/src/markdown/about/changelog.md
2026-07-02 19:55:27.000000000 +0200
@@ -3,6 +3,13 @@
---
# Changelog
+## 11.0.1
+
+- **FIX**: BetterEm: Fix regex pattern inefficiencies.
+- **FIX**: Tilde: Fix regex pattern inefficiencies.
+- **FIX**: Caret: Fix regex pattern inefficiencies.
+- **FIX**: MagicLink: Fix regex pattern inefficiencies.
+
## 11.0
- **BREAK**: B64: Restricts relative links to `base_path` by default. Can be
disabled by setting new `restrict_path`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pymdown-extensions-11.0/pymdownx/__meta__.py
new/pymdown-extensions-11.0.1/pymdownx/__meta__.py
--- old/pymdown-extensions-11.0/pymdownx/__meta__.py 2026-06-23
04:26:17.000000000 +0200
+++ new/pymdown-extensions-11.0.1/pymdownx/__meta__.py 2026-07-02
19:55:27.000000000 +0200
@@ -193,5 +193,5 @@
return Version(major, minor, micro, release, pre, post, dev)
-__version_info__ = Version(11, 0, 0, "final")
+__version_info__ = Version(11, 0, 1, "final")
__version__ = __version_info__._get_canonical()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pymdown-extensions-11.0/pymdownx/betterem.py
new/pymdown-extensions-11.0.1/pymdownx/betterem.py
--- old/pymdown-extensions-11.0/pymdownx/betterem.py 2026-06-23
04:26:17.000000000 +0200
+++ new/pymdown-extensions-11.0.1/pymdownx/betterem.py 2026-07-02
19:55:27.000000000 +0200
@@ -64,9 +64,9 @@
# _em __strong___
UNDER_EM_STRONG2 = r'(?<!_)(_)(?![_\s]){}_{{2}}{}_{{3}}'.format(UNDER_CONTENT,
UNDER_CONTENT)
# Prioritize *value* when **value** is nested within
-STAR_EM2 = r'(?<!\*)(\*)(?![\*\s])((?:[^\*]|\*{2,})+?)(?<![\*\s])(\*)(?!\*)'
+STAR_EM2 =
r'(?<!\*)(\*)(?![\*\s])((?:[^\*]|\*{2,}(?!\*))+?)(?<![\*\s])(\*)(?!\*)'
# Prioritize _value_ when __value__ is nested within
-UNDER_EM2 = r'(?<!_)(_)(?![_\s])((?:[^_]|_{2,})+?)(?<![_\s])(_)(?!_)'
+UNDER_EM2 = r'(?<!_)(_)(?![_\s])((?:[^_]|_{2,}(?!_))+?)(?<![_\s])(_)(?!_)'
# *emphasis*
STAR_EM = r'(\*)(?!\s){}(?<!\s)\1'.format(STAR_CONTENT)
# _emphasis_
@@ -90,7 +90,7 @@
# SMART: _em_
SMART_UNDER_EM =
r'(?<!\w)(_)(?![\s_]){}(?<!\s)\1(?!\w)'.format(SMART_UNDER_CONTENT)
# SMART: Prioritize _value_ when __value__ is nested within
-SMART_UNDER_EM2 =
r'(?<![\w_])(_)(?![_\s])((?:[^_]|_{2,})+?)(?<![_\s])(_)(?!\w)'
+SMART_UNDER_EM2 =
r'(?<![\w_])(_)(?![_\s])((?:[^_]|_{2,}(?!_))+?)(?<![_\s])(_)(?!\w)'
# SMART: _em __strong___
SMART_UNDER_EM_STRONG2 = \
r'(?<!\w)(_)(?![\s_]){}(?<!\w)_{{2}}(?![\s_]){}(?<!\s)_{{3}}(?!\w)'.format(
@@ -123,7 +123,7 @@
# SMART: *em*
SMART_STAR_EM =
r'(?:(?<=_)|(?<![\w\*]))(\*)(?![\s\*]){}(?<!\s)\1(?:(?=_)|(?![\w\*]))'.format(SMART_STAR_CONTENT)
# SMART: Prioritize *value* when **value** is nested within
-SMART_STAR_EM2 =
r'(?:(?<=_)|(?<![\w\*]))(\*)(?![\*\s])((?:[^\*]|\*{2,})+?)(?<![\*\s])(\*)(?:(?=_)|(?![\w\*]))'
+SMART_STAR_EM2 =
r'(?:(?<=_)|(?<![\w\*]))(\*)(?![\*\s])((?:[^\*]|\*{2,}(?!\*))+?)(?<![\*\s])(\*)(?:(?=_)|(?![\w\*]))'
# SMART: *em **strong***
SMART_STAR_EM_STRONG2 = \
r'(?:(?<=_)|(?<![\w\*]))(\*)(?![\s\*]){}(?:(?<=_)|(?<![\w\*]))\*{{2}}(?![\s\*]){}(?<!\s)\*{{3}}(?:(?=_)|(?![\w\*]))'.format(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pymdown-extensions-11.0/pymdownx/caret.py
new/pymdown-extensions-11.0.1/pymdownx/caret.py
--- old/pymdown-extensions-11.0/pymdownx/caret.py 2026-06-23
04:26:17.000000000 +0200
+++ new/pymdown-extensions-11.0.1/pymdownx/caret.py 2026-07-02
19:55:27.000000000 +0200
@@ -53,7 +53,7 @@
# `^sup ^^sup,ins^^^`
SUP_INS2 = r'(?<!\^)(\^)(?![\^\s]){}\^{{2}}{}\^{{3}}'.format(CONTENT, CONTENT)
# Prioritize ^value^ when ^^value^^ is nested within
-SUP2 = r'(?<!\^)(\^)(?![\^\s])((?:[^\^\s]|\^{2,})+?)(?<![\^\s])(\^)(?!\^)'
+SUP2 =
r'(?<!\^)(\^)(?![\^\s])((?:[^\^\s]|\^{2,}(?!\^))+?)(?<![\^\s])(\^)(?!\^)'
# Smart rules for when "smart caret" is enabled
# SMART: `^^^ins,sup^^^`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pymdown-extensions-11.0/pymdownx/magiclink.py
new/pymdown-extensions-11.0.1/pymdownx/magiclink.py
--- old/pymdown-extensions-11.0/pymdownx/magiclink.py 2026-06-23
04:26:17.000000000 +0200
+++ new/pymdown-extensions-11.0.1/pymdownx/magiclink.py 2026-07-02
19:55:27.000000000 +0200
@@ -56,8 +56,8 @@
RE_LINK = r'''(?xi)
(?P<link>
(?:(?<=\b)|(?<=_))(?:
- (?:ht|f)tps?://[^_\W][-\w]*(?:\.[-\w.]+)*| # (http|ftp)://
- (?P<www>w{3}\.)[^_\W][-\w]*(?:\.[-\w.]+)* # www.
+ (?:ht|f)tps?://[^_\W](?:[-\w]|\.(?!=$))*| #
(http|ftp)://host.name
+ (?P<www>w{3}\.)[^_\W](?:[-\w]|\.(?!=$))* # www.host.name
)
/?[-\w.?,!'(){}\[\]/+&@%$#=:"|~;]* # url path,
fragments, and query stuff
(?:[^_\W]|[-/#@$+=]) # allowed end chars
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pymdown-extensions-11.0/pymdownx/tilde.py
new/pymdown-extensions-11.0.1/pymdownx/tilde.py
--- old/pymdown-extensions-11.0/pymdownx/tilde.py 2026-06-23
04:26:17.000000000 +0200
+++ new/pymdown-extensions-11.0.1/pymdownx/tilde.py 2026-07-02
19:55:27.000000000 +0200
@@ -52,7 +52,7 @@
# `~sub ~~sub,del~~~`
SUB_DEL2 = r'(?<!~)(~)(?![~\s]){}~{{2}}{}~{{3}}'.format(CONTENT, CONTENT)
# Prioritize ~value~ when ~~value~~ is nested within
-SUB2 = r'(?<!~)(~)(?![~\s])((?:[^\s~]|~{2,})+?)(?<![~\s])(~)(?!~)'
+SUB2 = r'(?<!~)(~)(?![~\s])((?:[^\s~]|~{2,}(?!~))+?)(?<![~\s])(~)(?!~)'
# Smart rules for when "smart tilde" is enabled
# SMART: `~~~del,sub~~~`