similar to: escaping backslash in a string

Displaying 20 results from an estimated 4000 matches similar to: "escaping backslash in a string"

2014 Jan 21
1
Re: remove non-portable chmod from libtool-kill-dependency_libs.sh (#10)
Attaching the patch to the mailing list. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
2006 Mar 31
2
Backslash Escaping in View
Ok, I''m hoping this won''t be a forehead slapper, but take a look at this code: physician.name.sub(/''/, "\\''") I''m trying to substitute a single quote with a backslash and a single quote. This seems pretty simple right? Well, someone kick me and tell me why it''s not :) Here''s what I''m getting if the
2010 Jun 30
1
backslash escape characters in JSON strings
Hi, I am trying to consume a web service that returns a JSON string, however, when I run > fromJSON(s) Error: '\/' is an unrecognized escape in character string starting "http:\/" because the string s contains a single backslash, which is the JSON escape character, but R expects 2 backslashes, I think. Is there anyway to preprocess the JSON string returned from the web
2022 Sep 22
7
[Bug 3474] New: ssh_config can escape double quotes with a backslash
https://bugzilla.mindrot.org/show_bug.cgi?id=3474 Bug ID: 3474 Summary: ssh_config can escape double quotes with a backslash Product: Portable OpenSSH Version: v9.0p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee:
2009 Aug 11
1
Awkward escaping with five backslashes within \code{ } in new parse_Rd
Hi R-devels, I noticed that you are working quite actively on the new Rd-parser and have made it the default renderer in R-2.10.0dev. So I would like to come back on an issue I have already raised on this list last November ("Two minor escaping issues using \preformatted{....} in Rd format") My setting has slightly changed as \preformatted, AFAICS is not supported within \describe
2019 Jan 25
0
[klibc:update-dash] [PARSER] Handle backslash newlines properly after dollar sign
Commit-ID: e168c38081489046ec1dc612597b718a5adee74c Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=e168c38081489046ec1dc612597b718a5adee74c Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 25 Jan 2019 02:57:21 +0000 [klibc] [PARSER] Handle
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Handle backslash newlines properly after dollar sign
Commit-ID: 0b425be3b607419cc27bdab4de3f9178b637c7c7 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=0b425be3b607419cc27bdab4de3f9178b637c7c7 Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:54 +0000 [klibc] dash: [PARSER] Handle
2011 Nov 04
3
replace double backslash with singel backslash
I want to replace \\ with \ in: str <- "C:\\DOKUME~1\\u0327336\\LOKALE~1\\Temp\\RtmpQ5NJ8X\\TIRIS_PICS\\1_Img.jpg" and tried: gsub("\\\\", "\\", str) but this removes the \\ without replacing them by \ Any help much appreciated, Kay ----- ------------------------ Kay Cichini Postgraduate student Institute of Botany Univ. of Innsbruck ------------------------
2008 Jan 09
1
Help with backslash issue on smbfs
I am in the middle of migrating a number of applications from one server to another and I am running into an issue with backslashes on a smbfs mount. Basically, the backslash can be used in a file path on the old server and not on the new. This turns out to be important because of the samba share is used to store data for a large number of FTP clients, who use an old automated script which chokes
2008 May 09
4
Gnome-terminal's backslashes look like Ws with a horizontal line through -- how to get a backslash?
Hello! I've just started trying gnome-terminal (instead of xterm) because of its "tabbing" facility. However, I note that with it backslashes appear something like a W with a horizontal line through it. Any known way to get a backslash to appear as a backslash? To see what I mean, use gnome-terminal with echo '\' in bash, ksh, etc. Regards, Chip Campbell
2010 Jun 16
2
Backslash in paste() function
Hi, I'm trying to build a vector of latex commands. However, I need the command strings to begin with a backslash "\". I have: test <- c('foo','bar') and I need to rebuild the array, encapsulating the text items with latex stuff, like this: paste("\parbox[b]{3cm}{", test, "}", fill=TRUE) Actually, cat() prints the string fine if one uses
2011 Apr 29
1
regular expression in gsub() for strings with leading backslash
Hello, Can anyone help on gsub() in R? I have a string like something below, and wanted to delete all the strings with leading backslash, including "\xa0On", "\023, "\xab", and many others. How should I write a regular expression pattern in gsub()? I don't care how many characters following backslash. txt <- "Is This Thing\xa0On? http://bit.ly/jAbKem
2006 Feb 01
3
inserting one backslash
Hello, I am not very familiar with regular expressions and escaping. I need to replace the %-signs in a character vector with elements as "income 0%-33%# to be replaced by "income 0\%-33\%" (for later use in LaTeX). Using gsub("%","\\%","income 0%-33%") does not give the desired result. However, gsub("%","\\\\%","income
2002 Feb 11
0
[Bug 108] New: Enable continuation with '\' (backslash) in /etc/ssh/sshd_config (feature request)
http://bugzilla.mindrot.org/show_bug.cgi?id=108 Summary: Enable continuation with '\' (backslash) in /etc/ssh/sshd_config (feature request) Product: Portable OpenSSH Version: 2.9.9p2 Platform: ix86 OS/Version: Linux Status: NEW Severity: enhancement Priority: P5 Component: sshd
2019 Jan 25
0
[klibc:update-dash] parser: Fix incorrect eating of backslash newlines
Commit-ID: 5485646761fe402c332fe07abc973060af57ee59 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=5485646761fe402c332fe07abc973060af57ee59 Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Fri, 11 May 2018 23:41:25 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 25 Jan 2019 02:57:21 +0000 [klibc] parser: Fix incorrect
2020 Mar 28
0
[klibc:update-dash] dash: parser: Fix incorrect eating of backslash newlines
Commit-ID: c3b0fa9573b914694612b7a2bbf658928b5fb097 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=c3b0fa9573b914694612b7a2bbf658928b5fb097 Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Fri, 11 May 2018 23:41:25 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:55 +0000 [klibc] dash: parser: Fix
2011 Aug 30
2
url prep function (backslash issue)
Greeting R Community, I am a windows user so this problem may be specific to windows. I often want to source files from within R such as: C:\Users\Rinker\Desktop\Research & Law\Data\School Data 09-10. To source this file I need to go through the path and replace all the backslashes (\) with forward slashes (/). I usually do this in MS Word using the replace option, however, I'd like
2006 Jan 05
1
How do I get sub to insert a single backslash?
Something about the way R processes backslashes is defeating me. Perhaps this is because I have only just started using R for text processing. I would like to change occurrences of the ampersand & into ampersand preceded by a backslash. > temp <- "R & D" > sub("&", "\&", temp) [1] "R & D" > sub("&",
2006 Jan 04
1
AMP: Losing backslash characters in config files
I've just started using AMP and found that I have a problem with escaped characters in config files. In particular, I have a custom config item that needs a semicolon in... SetVar(_ALERT_INFO=info=auto-answer;delay=1) To get the part of the line after the ; to be accepted by Asterisk as a non-comment it needs to be escaped with a backslash, but I have found that I need to put two
2008 Aug 04
3
backslash in character string?
Dear list, After searching many old posts, I can't find the solution to a simple problem. can someone tell me how to create a character string with multiple backslashes, as in: file_dir <- c("C:\files\data\") I need to create this string and then paste it to many files names for batch processing in another software program. R won't accept the backslash and removes