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

Posts in this topic
- Brennan Young   Reproducible Crash with RegEx   Apr 4 2006, 08:17 AM
- - Guest   It's not Jay's fault that you don't kn...   May 28 2006, 11:38 PM


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: 26th November 2024 - 06:23 AM