search for: regex101

Displaying 8 results from an estimated 8 matches for "regex101".

Did you mean: regex1
2023 Jul 23
1
Bug in perl=TRUE regexp matching?
...gex, "", strings) [1] "85" "JS" "??" "J-FD" > gsub(regex, "", strings, perl = TRUE) [1] "85" "JS" "???????????????????" "J-F?oD" and the website https://regex101.com/r/QDFrOE/1 gives the first answer when the regex option /u ("match with full Unicode) is specified, but the second answer when it is not. Now I'm not at all sure that that website is authoritative, but this looks like a flag may have been missed in the `perl = TRUE` case. Duncan M...
2019 Feb 20
1
sieve filter not working -- wildcard missing
...nclude a TLD like "*.superinfos" The regex needs to be ".*\..*info[^.]$" > > > The draft lists a table of common regex in section2: > https://tools.ietf.org/html/draft-murchison-sieve-regex-08#section-2 > > > There are online regex checker like https://regex101.com thought not > specific to sieve's regex, which can be used to test your regular > expressions. Sieve's regex are quite standard though. > > Greetings > Martin > > > On Wed, 2019-02-20 at 14:00 +0530, subin ks via dovecot wrote: > > I've Dovecot and d...
2019 Feb 20
5
sieve filter not working
I've Dovecot and dovecot-sieve v 2.2.27 installed on a Debian 9.6. I'm trying to set a Sieve filter which will redirect all emails from `info` (i.e. .info) TLD to another email. This is the filter: require ["regex"]; # rule:[test] if header :regex "from" "info$" { redirect "subbs at domain.com"; } It's not being honored; all emails from .info
2023 Jul 25
1
Bug in perl=TRUE regexp matching?
...uot;?? "J-FD" >>> >>> ? > gsub(regex, "", strings, perl = TRUE) >>> [1] "85"????????????????? "JS"????????????????? "???????????????????" >>> "J-F?oD" >>> >>> and the website https://regex101.com/r/QDFrOE/1 gives the first answer >>> when the regex option /u ("match with full Unicode) is specified, but >>> the second answer when it is not. >>> >>> Now I'm not at all sure that that website is authoritative, but this >>> looks like a f...
2019 Feb 20
0
sieve filter not working -- wildcard missing
...e (e.g '*.superinfo'). If you want to restrict to classic tld '*.info' change the regex to ".*\.info$" The draft lists a table of common regex in section2: https://tools.ietf.org/html/draft-murchison-sieve-regex-08#section-2 There are online regex checker like https://regex101.com thought not specific to sieve's regex, which can be used to test your regular expressions. Sieve's regex are quite standard though. Greetings Martin On Wed, 2019-02-20 at 14:00 +0530, subin ks via dovecot wrote: > I've Dovecot and dovecot-sieve?v?2.2.27 installed on a Debian 9...
2020 Feb 26
1
Matching regexps
..."${1}"; } if not execute "grepfrom" ["${sender}"] { if envelope :matches "from" "*" { set "sender" "${1}"; } This failes to match Tamara Denning <tdenning at cs.utah.edu> when I check that regexp against that string at regex101.com, it shows a match, but the log (from sieve-test) shows: 348: header test 348: starting `:matches' match with `i;ascii-casemap' comparator: 348: extracting `From' headers from message 348: matching value `Tamara Denning <tdenning at cs.utah.edu>' 348: with ke...
2018 Apr 18
0
Identifying columns with specific character
Hi Farnoosh, Perhaps this will help: drop_dollar<-function(x) return(as.numeric(as.character(gsub("\\$","",x)))) sapply(My.Data,drop_dollar) Jim On Thu, Apr 19, 2018 at 7:23 AM, Farnoosh Sheikhi via R-help <r-help at r-project.org> wrote: > Hello, > I have a data frame with 400 columns and wanted to filter character columns with "$" in it.For
2018 Apr 18
3
Identifying columns with specific character
Hello, I have a data frame with 400 columns and wanted to filter character columns with "$" in it.For example:?>? x <- c("$5", "$89", "$10", "$34")??>? y <- c(1:4)>? My.Data <- data.frame (x,y)> My.Data? ? x y1? $5 12 $89 23 $10 34 $34 4 I want to detect the columns with $ and remove the $ from the selected columns.I have