От: | vopl | ||
Дата: | 01.05.22 08:08 | ||
Оценка: | +2 |
M>Given an input string s and a pattern p, implement regular expression matching with support for '.' and '*' where:
M>'.' Matches any single character.
M>'*' Matches zero or more of the preceding element.
M>The matching should cover the entire input string (not partial).
M>Input: "aab" "c*a*b"
M>Output: false
M>Expected: true