SPLK-1004 Exam QuestionsBrowse all questions from this exam

SPLK-1004 Exam - Question 14


Which is a regex best practice?

Show Answer
Correct Answer: B

A regex best practice is to avoid backtracking. Backtracking can lead to inefficiencies and performance issues, especially in complex regular expressions. Keeping regex patterns efficient and avoiding unnecessary backtracking helps in maintaining better performance.

Discussion

1 comment
Sign in to comment
emlchOption: B
May 10, 2024

Other answers are the opposite of best practice. No need to extra knowledge on regex.