REGEXP_COUNT (Lakehouse v2)
文字列内に正規表現パターンが出現する回数を返します。
Analyzeの構文
Section titled “Analyzeの構文”func.regexp_count(<str>, <pattern>)Analyzeの例
Section titled “Analyzeの例”func.regexp_count('banana', 'an')
┌───┐│ 2 │└───┘SQLの構文
Section titled “SQLの構文”REGEXP_COUNT(<str>, <pattern>)SELECT REGEXP_COUNT('banana', 'an');
┌───┐│ 2 │└───┘