Regex Tester — illustrative example INPUT JavaScript expression /^cat$/ with no flags. Test cat, Cat, cats and a string containing cat followed by a newline. RESULT cat → true Cat → false cats → false cat followed by a newline → false Reproduce with: samples.map(value => /^cat$/.test(value)) REVIEW Testing requires an actual compatible regex engine. Report the pattern, flags and sample strings so the result can be reproduced. This is a teaching example, not a live execution record.