IPB

Welcome Guest ( Log In | Register )

> Reproducible Crash with RegEx
Guest_Brennan Young_*
post Apr 4 2006, 08:17 AM
Post #1





Guests






I just discovered that you can crash savitar very easily by making a trigger which traps the regex pattern

foo)|bar

... then save the world file, quit savitar, double-click the world file, then choose

window->show events window

Savitar crashes.

Obviously the regex pattern is poorly formed (although the docs on exactly which flavor of regex savitar understands are lacking) - but screwy user input is no excuse for a crash.

Savitar should handle screwy regex patterns more gracefully than this.

In fact, it would be nice to have a little regex editor where you could paste some sample text to test matching.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 1)
Guest_Guest_*
post May 28 2006, 11:38 PM
Post #2





Guests






It's not Jay's fault that you don't know how to write regexes.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 8th November 2024 - 08:15 AM