Test, validate and match regular expressions
Parses temperature alarm log lines that contain two alarm slots (indexes 0 and 1). For each slot it captures a signed decimal temperature threshold (e.g., +45.5 or -10.0) and an integer time value using named groups (Temp_AL_0, time_AL_0, Temp_AL_1, time_AL_1). With the global and multiline flags, it extracts every alarm entry from device logs, typical of embedded controllers or sensor monitoring software.