Compares two patterns to determine if they match, with an option to allow flexible dimension order.
pattern_match(pattern1, pattern2, mix_patterns = FALSE)Logical; TRUE if the patterns match, FALSE otherwise.
A character string representing the first pattern.
A character string representing the second pattern.
Logical; if TRUE, allows dimension order to be ignored during comparison.
Pattawee Puangchit
Performs case-insensitive pattern matching.
If mix_patterns = TRUE, allows patterns to match even if dimensions are in different order.
get_original_pattern, process_pattern, get_data_by_dims