Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular expression help - dead url #2511

Open
Groberen opened this issue May 21, 2024 · 3 comments
Open

Regular expression help - dead url #2511

Groberen opened this issue May 21, 2024 · 3 comments

Comments

@Groberen
Copy link

Is your feature request related to a problem? Please describe.
In the search and replace dialog box, there is a link to help with regular expressions. However, this link has being dead for a while.

Describe the solution you'd like

Immediately solution:
Replace original (dead) url: https://developer-old.gnome.org/glib/stable/glib-regex-syntax.html
with (this is just an example I found by searching) : https://web.mit.edu/barnowl/share/gtk-doc/html/glib/glib-regex-syntax.html

Better solution - local help file in .ctb format

Since any static URL can become obsolete at any time, I suggest the contents of the web pages are to be transferred to a separate .ctb file, and this .ctb file being extracted when installing CT.

NB: Since the user will be able to modify the regexp help file in .ctb format, this file should have some protection from being overwritten when re-installing CT.

@gitvectors
Copy link

gitvectors commented May 22, 2024

I observe that many users of CherryTree overlook leveraging built in features such as CodeBoxes.

Create a CodeBox .. Python3

Paste this ..

import webbrowser
webbrowser.open("https://duckduckgo.com/")

Then .. Execute

Or simply Insert/Edit Link

And of course you can add your own bookmarks into your browser. Or use a client such as Zotero.

CherryTree has many hidden gems.

@Groberen
Copy link
Author

Ah, yes - of course I have my own set of most-used regex syntax in a separate node where applicable, the dead link was just annoying enough make me create a post on that.

@giuspen
Copy link
Owner

giuspen commented May 22, 2024

Thanks for reporting this @Groberen I replaced for now with https://www.geany.org/manual/gtk/glib/glib-regex-syntax.html as geany has been my favourite text editor since before cherrytree was started, I will consider in future install that page with cherrytree so it can be visited offline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants