Error Message


ASTER::CONDITION::REGEX::Syntax Error

If a syntax error is included in the regular expression, parsing will fail and an exception (error) will occur. The developer can choose how the error is handled, either by displaying a message window or detecting an error event.

This page explains the CF25 condition event and mechanisms for customizing the behavior in case of an error.


Detects the occurrence of REGEX syntax errors

You can notify CF25 of the occurrence of a syntax error from ASTER and create an event in CF25 to handle the error.

The immediate execution condition, which is executed when a syntax error occurs, uses a Search ID to easily create specific responses for each event.

Search uID == Search Unique Identifier

By setting the Search uID, events can be distinguished. Utilizing the Search uID is essential in situations where multiple events occur sequentially and simultaneously within a single frame, such as when processing multiple REGEX patterns.

---
title: Event Flow Chart
---
flowchart LR
A(REGEX.1) --> B[search uID.1]
C(REGEX.2) --> D[search uID.2]
B[search uID.1] --> |Error|E{Error Condition}
D[search uID.2] --> |Error|E{Error Condition}
E{Error Condition} --> F[Error search uID == 1]
E{Error Condition} --> G[Error search uID == 2] 

The functions for handling Search uID in case of a REGEX Syntax Error are Match, Search.


Parameter

Unique Identifier for REGEX Search ( uID )
0

Please enter the search uID. Enter the number that matches the search uID set before searching.



Warning 【 infinite loop 】

This is a theoretical inference and has not been tested in practice, but structurally, it could create an infinite loop unintended by the developer.

By generating an error and catching the event, and then intentionally causing a syntax error within the caught event, it should result in an infinite loop.


Error Notification, Property Settings

As a behavior for ASTER when a syntax error occurs in regular expressions, you can select whether to display or hide error messages during application execution from the property settings of the extension. The display of error messages is done through a pop-up window.

ASTER::Properties::Settings::Force Popup Err Messages

ASTER::Properties::Settings::Force Popup Err Messages