View Single Post
Old 01-16-2022, 07:14 PM   #292
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
As you determined, you need to use backslashes to escape the square brackets that indicate character classes in regular expressions.

The list_union() function takes two lists. If you need to do a union of more than two lists then you do
Code:
    x = list_union(list1, list2, ',');
    x = list_union(list3, x, ',')
etc, or
Code:
    x = list_union(list1, list_union(list2, list3, ','), ',')
chaley is offline   Reply With Quote