You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jrnl: v3.3
Python: 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]
OS: Windows 10
Current Behavior
With the default tagsymbols # and @, it's easy to enter text that isn't meant to be a tag but is still registered as one. For instance, a markdown heading starting with ### adds ### as a tag.
It is doing it in some cases, but it's strangely inconsistent.
Expected Behavior
When running jrnl --tags, no text should be treated as a tag if it's composed entirely of tagsymbols.
It's important that this only applies to tokens that are entirely composed of tagsymbols. I think a tag like #abc#def should still be read as one tag, even though it contains the tag symbol twice.
The text was updated successfully, but these errors were encountered:
Diagnostic output
jrnl: v3.3
Python: 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]
OS: Windows 10
Current Behavior
With the default tagsymbols
#
and@
, it's easy to enter text that isn't meant to be a tag but is still registered as one. For instance, a markdown heading starting with###
adds###
as a tag.It is doing it in some cases, but it's strangely inconsistent.
Expected Behavior
When running
jrnl --tags
, no text should be treated as a tag if it's composed entirely of tagsymbols.Repro Steps
I ensure my tagsymbols are set to the default
#@
.I create a new journal entry with the following:
I run
jrnl --tags
:None of those should appear as tags.
Debug output
Other Information
It's important that this only applies to tokens that are entirely composed of
tagsymbols
. I think a tag like#abc#def
should still be read as one tag, even though it contains the tag symbol twice.The text was updated successfully, but these errors were encountered: