Too sad, it's not O(1). There is a cost for: Constructing the regex into a DFA; Calling test() or match() on the regex for the value.
確定! 回上一頁