Syntax Highliting, JavaScriopt Regular Expressions

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 17 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
Bob Denny
Posts: 132
Last visit: Mon Apr 03, 2017 12:29 pm

Syntax Highliting, JavaScriopt Regular Expressions

Post by Bob Denny »

Here are some examples of regex highlighting problems. The first image shows what I have the highlighting set for, and it is highlighted correctly. The last two images shown problems (arith expression highlighted as a regex, and a couple of similar regexes that are not highlighted).
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 20
Been upvoted: 37 times

Syntax Highliting, JavaScriopt Regular Expressions

Post by Alexander Riedel »

Could you attach / email me a sample file with such code?
That'll make it easier to debug.

Thanks,

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Bob Denny
Posts: 132
Last visit: Mon Apr 03, 2017 12:29 pm

Syntax Highliting, JavaScriopt Regular Expressions

Post by Bob Denny »

Done.
User avatar
Bob Denny
Posts: 132
Last visit: Mon Apr 03, 2017 12:29 pm

Syntax Highliting, JavaScriopt Regular Expressions

Post by Bob Denny »

In another note, Alex wrote:
A fix for autompleting despite non-matching items when pressing enter is included in the next service release.
Did you (finally) get my samples? I'm bumping this in case it got lost in the work for the next release. I apologize if it seems like I'm nagging you :-) I love PrimalScript! I use it for hours a day.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 20
Been upvoted: 37 times

Syntax Highliting, JavaScriopt Regular Expressions

Post by Alexander Riedel »

I have the samples and I will look into it as soon as I can.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 17 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.