Skip to content

4.3.0: Regular Expressions bug-fixing and usability

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Jul 14:25

What's Changed

🌟 Most Notable

Dependencies have been updated. Please restart Obsidian after updating the plugin. Thank you.

🌟 Major safety and usability improvements for regular expressions (regex) searches

  • / characters no longer need to be escaped (as \/) in regular expressions.
    • This fixes #2136 - that file paths in regular expressions were wrongly truncated.
  • explain now explains regular expressions.
  • It's easier to correct syntax errors in regexes, as error info is now displayed, such as:
    • SyntaxError: Invalid regular expression: /hello(/: Unterminated group
  • The u unicode flag is now supported.
  • Any invalid flags are reported now instead of ignored.
    • These are often a sign of a missing / at the end of the regex.
  • Any problems with regex result in the following 'help' being displayed inside Tasks code blocks:
    image|500

Main changes

Here are the most notable user-visible changes.

🌟 Features

πŸ’ͺ Fixes

πŸ“– Documentation

πŸ› οΈ Dependencies

πŸ› οΈ Behind the scenes

  • test: Simplify code-review of filter, sort and group additions by @claremacrae in #2126

Full Changelog (including changes too small to note above, and that do not affect the behaviour of the plugin itself):