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

Suggestion: Regex section allows non-destructive "test mode"? #7

Open
TiddlyTweeter opened this issue Sep 8, 2019 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@TiddlyTweeter
Copy link

An issue with Regular Expressions is they can have unpredictable results, especially in the text field.
Safe testing is important to see the effect before application.

I'm wondering if it would be possible to have a "test-mode" where you apply regex to a temporary test tiddler before you apply it across Tiddlers?

Or maybe http://tw-regexp.tiddlyspot.com could have a subset of TC that allows that?

@kookma kookma added the enhancement New feature or request label Sep 8, 2019
@kookma
Copy link
Owner

kookma commented Sep 8, 2019

Do you mean by test mode to have preview before applying SnR?
Or do you mean to add some test cases?

@TiddlyTweeter
Copy link
Author

In my own work I'm working on adding both.

BUT, practically, all I think is needed is a "test area" where you can paste in data to test against that won't damage your existing Tiddlers.

@kookma
Copy link
Owner

kookma commented Sep 8, 2019

I will see, but practically test area is not simple to be implemented!
I will check to see if sandboxing is possible in Tiddlywiki or not!

@TiddlyTweeter
Copy link
Author

I understand.

It may be it should be done as a separate tool?
Not sure.

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

No branches or pull requests

2 participants