/dports/textproc/R-cran-stringr/stringr/tests/testthat/ |
H A D | test-replace.r | 4 expect_equal(str_replace_all("abababa", "ba", "BA"), "aBABABA") 12 expect_equal(str_replace_all("abcde", "(b)(c)(d)", "\\1"), "abe") 13 expect_equal(str_replace_all("abcde", "(b)(c)(d)", "\\2"), "ace") 14 expect_equal(str_replace_all("abcde", "(b)(c)(d)", "\\3"), "ade") 23 str_replace_all("abcde", "(b)(c)(d)", "\\4"), 27 expect_equal(str_replace_all("abcde", "bcd", "\\\\1"), "a\\1e") 29 expect_equal(str_replace_all("a!1!2!b", "!", "$"), "a$1$2$b") 39 y <- str_replace_all(x, c("a" = "1", "b" = "2")) 45 y <- str_replace_all(x, regex(c("X" = "a"), ignore_case = TRUE)) 70 expect_equal(str_replace_all("abc", "a|c", toupper), "AbC") [all …]
|
/dports/textproc/R-cran-stringr/stringr/man/ |
H A D | str_replace.Rd | 5 \alias{str_replace_all} 10 str_replace_all(string, pattern, replacement) 34 \code{str_replace_all}. Alternatively, pass a function to 50 str_replace_all(fruits, "[aeiou]", "-") 51 str_replace_all(fruits, "[aeiou]", toupper) 52 str_replace_all(fruits, "b", NA_character_) 63 str_replace_all(c("one" = "1", "two" = "2", "three" = "3")) 77 str_replace_all(x, colours, col2hex)
|
/dports/graphics/R-cran-DiagrammeR/DiagrammeR/R/ |
H A D | import_graph.R | 264 stringr::str_replace_all( 278 stringr::str_replace_all( 287 stringr::str_replace_all( 288 stringr::str_replace_all( 304 stringr::str_replace_all( 312 stringr::str_replace_all( 321 stringr::str_replace_all( 322 stringr::str_replace_all( 332 stringr::str_replace_all(
|
/dports/textproc/R-cran-stringr/stringr/inst/doc/ |
H A D | regular-expressions.R | 67 str_replace_all(text, "\\s+", " ") 71 str_replace_all(text, "\\p{quotation mark}", "'") 78 str_replace_all("The quick brown fox", "\\b", "_") 79 str_replace_all("The quick brown fox", "\\B", "_")
|
/dports/print/fontforge/fontforge-20201107/gdraw/ |
H A D | hotkeys.c | 421 keydesc = str_replace_all( keydesc, "Ctrl", "⌘", 1 ); in hotkeyTextToMacModifiers() 422 keydesc = str_replace_all( keydesc, "Ctl", "⌘", 1 ); in hotkeyTextToMacModifiers() 423 keydesc = str_replace_all( keydesc, "Command", "⌘", 1 ); in hotkeyTextToMacModifiers() 424 keydesc = str_replace_all( keydesc, "Cmd", "⌘", 1 ); in hotkeyTextToMacModifiers() 425 keydesc = str_replace_all( keydesc, "Shift", "⇧", 1 ); in hotkeyTextToMacModifiers() 426 keydesc = str_replace_all( keydesc, "Shft", "⇧", 1 ); in hotkeyTextToMacModifiers() 427 keydesc = str_replace_all( keydesc, "Alt", "⎇", 1 ); in hotkeyTextToMacModifiers() 428 keydesc = str_replace_all( keydesc, "+", "", 1 ); in hotkeyTextToMacModifiers()
|
/dports/devel/R-cran-roxygen2/roxygen2/R/ |
H A D | utils.R | 57 x <- str_replace_all(x, "[^A-Za-z0-9_.-]+", "-") 58 x <- str_replace_all(x, "-+", "-") 59 x <- str_replace_all(x, "^-|-$", "") 60 x <- str_replace_all(x, "^\\.", "dot-")
|
H A D | rd-name-alias.R | 5 x$value <- str_replace_all(x$value, fixed("%"), "\\%") 13 x$value <- str_replace_all(x$value, fixed("%"), "\\%")
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/rnn/bucket_R/ |
H A D | data_preprocessing_seq_to_one.R | 62 raw_vec <- str_replace_all(string = raw_vec, pattern = "[^[:print:]]", replacement = "") 64 raw_vec <- str_replace_all(string = raw_vec, pattern = "_", replacement = " ") 65 raw_vec <- str_replace_all(string = raw_vec, pattern = "\\bbr\\b", replacement = "") 66 raw_vec <- str_replace_all(string = raw_vec, pattern = "\\s+", replacement = " ")
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/rnn/bucket_R/ |
H A D | data_preprocessing_seq_to_one.R | 62 raw_vec <- str_replace_all(string = raw_vec, pattern = "[^[:print:]]", replacement = "") 64 raw_vec <- str_replace_all(string = raw_vec, pattern = "_", replacement = " ") 65 raw_vec <- str_replace_all(string = raw_vec, pattern = "\\bbr\\b", replacement = "") 66 raw_vec <- str_replace_all(string = raw_vec, pattern = "\\s+", replacement = " ")
|
/dports/graphics/mapcache/mapcache-1.10.0/contrib/mapcache_detail/ |
H A D | mapcache_detail.c | 435 path = str_replace_all(pool, path, "{z}", in dbfilename() 442 path = str_replace_all(pool, path, "{x}", in dbfilename() 445 path = str_replace_all(pool, path, "{div_x}", in dbfilename() 448 path = str_replace_all(pool, path, "{inv_x}", in dbfilename() 451 path = str_replace_all(pool, path, "{inv_div_x}", in dbfilename() 459 path = str_replace_all(pool, path, "{y}", in dbfilename() 462 path = str_replace_all(pool, path, "{div_y}", in dbfilename() 465 path = str_replace_all(pool, path, "{inv_y}", in dbfilename() 476 path = str_replace_all(pool, path, "{top}", in dbfilename() 479 path = str_replace_all(pool, path, "{top_x}", in dbfilename() [all …]
|
/dports/textproc/R-cran-stringr/stringr/ |
H A D | NEWS.md | 18 * `str_replace_all()` with a named vector now respects modifier functions (#207) 45 `str_replace()` and `str_replace_all()` to remove patterns from strings. 91 * `str_replace_all()` now throws an error if `replacement` is not a character 119 * `str_replace()` and `str_replace_all()` now behave correctly when a 146 * `str_replace_all()` gains a convenient syntax for applying multiple pairs of 151 str_replace_all(input, c("[ad]" = "!", "[cf]" = "?")) 227 * str_replace renamed to str_replace_all and new str_replace function added.
|
/dports/textproc/R-cran-stringr/stringr/vignettes/releases/ |
H A D | stringr-1.2.0.Rmd | 33 x %>% str_replace_all("\\$[0-9,]+", redact) 60 * `str_replace_all()` now throws an error if `replacement` is not a character
|
H A D | stringr-1.0.0.Rmd | 36 * `str_replace_all()` gains a convenient syntax for applying multiple pairs of 41 str_replace_all(x, c("[ad]" = "!", "[cf]" = "?"))
|
/dports/textproc/R-cran-stringr/stringr/R/ |
H A D | remove.r | 20 str_replace_all(string, pattern, "")
|
H A D | trim.R | 30 stri_trim_both(str_replace_all(string,"\\s+"," "))
|
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/samples/wrapper/ |
H A D | wrapper.cpp | 249 void str_replace_all(char* buf, const char* s1, const char* s2) { in str_replace_all() function 263 void str_replace_all(string &str, const string& s1, const string& s2) { in str_replace_all() function 279 str_replace_all(str, "$PROJECT_DIR", pd); in macro_substitute() 286 str_replace_all(str, "$NTHREADS", nt); in macro_substitute() 296 str_replace_all(str, "$GPU_DEVICE_NUM", nt); in macro_substitute() 304 str_replace_all(str, "$PWD", nt); in macro_substitute() 310 str_replace_all(str, "$PWD", getcwd(cwd, sizeof(cwd))); in macro_substitute()
|
/dports/japanese/jed/jed-B0.99-8__J067/lib/ |
H A D | emul.sl | 8 str_replace_all (a, b, c);
|
/dports/misc/mc/mc-4.8.27/tests/lib/strutil/ |
H A D | replace__str_replace_all.c | 158 actual_result = str_replace_all (data->haystack, data->needle, data->replacement); in START_PARAMETRIZED_TEST()
|
/dports/misc/mc-nox11/mc-4.8.27/tests/lib/strutil/ |
H A D | replace__str_replace_all.c | 158 actual_result = str_replace_all (data->haystack, data->needle, data->replacement); in START_PARAMETRIZED_TEST()
|
/dports/editors/jed/jed-0.99-19/lib/ |
H A D | ctags.sl | 129 proto = str_replace_all (bufsubstr (), "\\/", "/"); 132 % str_replace_all will fail unless something is done to trick it. 133 proto = str_replace_all (bufsubstr (), "\\/", "\001\002\x7f"); 134 proto = str_replace_all (proto, "\001\002\x7f", "/");
|
/dports/converters/R-cran-arabic2kansuji/arabic2kansuji/R/ |
H A D | arabic2kansuji.R | 55 stringr::str_replace_all(str, kansuji) 184 str <- stringr::str_replace_all(str, arabicn_half)
|
/dports/textproc/R-cran-rmarkdown/rmarkdown/R/ |
H A D | base64.R | 9 html <- stringr::str_replace_all(html, reg, process_img_src)
|
/dports/devel/RStudio/rstudio-2021.09.1-372/dependencies/common/rmarkdown/R/ |
H A D | base64.R | 21 html <- stringr::str_replace_all(html, reg, process_img_src)
|
/dports/misc/mc-nox11/mc-4.8.27/lib/strutil/ |
H A D | replace.c | 72 str_replace_all (const char *haystack, const char *needle, const char *replacement) in str_replace_all() function
|
/dports/misc/mc/mc-4.8.27/lib/strutil/ |
H A D | replace.c | 72 str_replace_all (const char *haystack, const char *needle, const char *replacement) in str_replace_all() function
|