numbers
numbers_mt(1500000)
needle_like
'%' || toString(number) || '_'
'%' || toString(number % 10) || '_'
needle_match
'.*' || toString(number) || '.'
'.*' || toString(number % 10) || '.'
'([a-zA-Z][a-zA-Z0-9]*)://([^ /]+)(/[^ ]*)?([^ @]+)@([^ @]+)([0-9][0-9]?)/([0-9][0-9]?)/([0-9][0-9]([0-9][0-9])?)(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9])' || toString(number)
'([a-zA-Z][a-zA-Z0-9]*)://([^ /]+)(/[^ ]*)?([^ @]+)@([^ @]+)([0-9][0-9]?)/([0-9][0-9]?)/([0-9][0-9]([0-9][0-9])?)(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9])' || toString(number % 10)
select toString(number) as haystack, like(haystack, '%x_')
from(select * from {numbers})
format Null
select toString(number) as haystack, match(haystack, '.*x.')
from(select * from {numbers})
format Null
select toString(number) as haystack, {needle_like} as needle, like(haystack, needle)
from (select * from {numbers})
format Null
select toString(number) as haystack, {needle_match} as needle, match(haystack, needle)
from (select * from {numbers})
format Null