Thinking about this more, if you want to search for both Fevrier and Février (or even Fèvrier or Fêvrier or whatever) you can just substitute the accented character with a '.' which will match any character. Eg
will match all of the above. Looking online there are more complex patterns if you want to be more specific, but not sure if supported by LC and this should suffice for your use-case i think...
S.
--------------------------------------------------
EDIT: if you want to make the match a bit wider (eg case-insensitive) then use modifiers:
the modifier
i means to treat this as case-insensitive, as by default regex is case sensitive, so that
F.vrier will also match
fevrier
so this should work in LC (untested):
filter lines of myMonthesList with regex pattern "(?i)f.vrier"
Other modifiers i frequently use (can all be used together, eg (?xis):
m - multiline (^ signifies start of line, $ signifies end of line)
x - ignore white space in the query
s - single line : treats everything as 1 line, so that dot matches newline as well
--------------------------------------------------
EDIT 2
Just to be on the safe side, it tested with some simple code in a button:
Code: Select all
on mouseUp
local tLines, myMonthesList
put "Janvier 520" & return into myMonthesList
put "Février 15" & return after myMonthesList
put "Mars 48" & return after myMonthesList
put "Avril 110" & return after myMonthesList
put "Août 63" after myMonthesList
filter lines of myMonthesList with regex pattern "(?i)f.vrier" into tLines
end mouseUp
tLines now contains "Février 15"