This condition is hard for people to understand and use, so I think we should add more explanation and help. I spent a little bit of time looking at other text comparison UI's, but nowhere near what I think is necessary to make the interface what it could be.

Some initial ideas.
- Left to right might be a better direction than up to down.
- We could improve the text fields with labels and make them expandable as well.
- We should definitely add a link to Online Regular Expression Builder.

More to come.

CommentFileSizeAuthor
#4 regex.patch905 bytesmitchell

Comments

davidcgutman’s picture

Component: User Interface » User interface

Are all of the regular expressions allowed in the Online Regular Expression Builder allowed? I'd love to have a negative look-behind (?<!....) but I wasn't sure how common that was outside of Perl...

amitaibu’s picture

@Mitchell,
Maybe you can create a patch that adds a link to the Wikipedia definition - you can look at the flag integration, it has a link to the singelton definition.

fago’s picture

oh, fine.

>- Left to right might be a better direction than up to down.
Do you meaning putting the textfields on the same line? I think having the whole line is good when comparing longer strings?

>- We could improve the text fields with labels and make them expandable as well.
We would have to change them to textareas I think. Why not, perhaps just add only a few rows by default, 2 or 3?

>- We should definitely add a link to Online Regular Expression Builder.
That sounds to be a fine idea, however we need to check that generated regexes are working fine.. (as #1 says)

mitchell’s picture

Status: Active » Needs review
StatusFileSize
new905 bytes

@1: Not sure about all, but I've used this regex builder several times and it worked. Please give it a try.

@2: That was helpful, thanks.

@left to right & textareas: I'll keep messing around to try and find a good layout.

mitchell’s picture

Issue tags: +Usability

tag

fago’s picture

Status: Needs review » Fixed

patch committed, thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Usability

Automatically closed -- issue fixed for 2 weeks with no activity.