On Thu, Oct 27, 2022 at 03:24:10PM +0100, Henrik Morsing via GLLUG wrote: > On Thu, Oct 27, 2022 at 03:02:28PM +0100, John Levin via GLLUG wrote: <snip> >> Is there something about the order of characters in regex square >> brackets? Does the stop have a special meaning when given first? > > I think . means any character, does it help to escape it? (\.) <snip>
Also the hyphen character - between two other characters means a range. For example [0-9] means any characters between 0 and 9. See: https://en.wikipedia.org/wiki/Regular_expression#Patterns -- #---------------------------------------------------------# | John Edwards Email: [email protected] | #---------------------------------------------------------# -- GLLUG mailing list [email protected] https://mailman.lug.org.uk/mailman/listinfo/gllug
