search for: escapes

Displaying 20 results from an estimated 5023 matches for "escapes".

Did you mean: escape
2006 Sep 07
5
url_for always escape string.
according to the documentation, only the url_for from ActionView escape the URL. which happens on this line escape ? html_escape(url) : url and can be prevented by passing :escape => false to url_for. still according to the documentation, the url_for from ActionController is not supposed to escape the url. BUT IT DOES. at the moment of this line escape ? html_escape(url) : url url has
2017 Mar 04
0
[PATCH] rescue: Implement escape sequences.
...eak; + case 'i': OPTION_i; break; @@ -463,6 +484,9 @@ log_message_callback (guestfs_h *g, void *opaque, uint64_t event, static char rbuf[BUFSIZE]; /* appliance -> local tty */ static char wbuf[BUFSIZE]; /* local tty -> appliance */ +static bool process_escapes (char *buf, size_t *len); +static void print_escape_key (void); + static void do_rescue (int sock) { @@ -524,6 +548,13 @@ do_rescue (int sock) } if (n > 0) wlen += n; + + /* Process escape sequences in the tty input. If the function + * returns true, then we...
2009 Aug 17
1
regex problems with the escape character
...in a character string 5: '\M' is an unrecognized escape in a character string 6: '\P' is an unrecognized escape in a character string 7: '\M' is an unrecognized escape in a character string 8: '\m' is an unrecognized escape in a character string 9: unrecognized escapes removed from "C:\Rtools\bin;C:\Rtools\perl\bin;C:\Rtools\MinGW\bin;C:\Program\MiKTeX 2.7\miktex\bin;" I thought about attempting to escape the escape character and so on. Is that a?workable option here? However, for this to work, I must first be able to read in the string correctly. The...
2006 Jul 14
2
how to get builder 2.0 to escape attributes in rxml
I am using rxml to produce opml files and need to escape ampersands in the attributes. builder 2.0 docs found at http://builder.rubyforge.org/ show the following xml = Builder::XmlMarkup.new xml.sample(:escaped=>"This&That", :unescaped=>:"Here&amp;There") xml.target! => <sample escaped="This&amp;That"
2020 Mar 27
3
Re: Escape character
On Fri, Mar 27, 2020 at 01:45:21PM +0100, Ján Tomko wrote: > On a Friday in 2020, john doe wrote: > > Hi, > > > > I'm trying to understand how to use the escape character '^]' with the > > below command: > > > > virt-install --name=try06 --graphic none --pxe --network bridge=virbr0 > > --console pty,target_type=serial > > > >
2016 May 30
5
[GSoC 2016] Capture Tracking Improvements - BackgroundInformation
Hey Scott, There has been quite a lot of research on capture tracking (aka escape analysis) for Java and other dynamic languages. See e.g.: https://wiki.openjdk.java.net/display/HotSpot/EscapeAnalysis http://docs.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html http://dl.acm.org/citation.cfm?doid=320384.320386 Nuno -----Original Message----- From: Scott Egerton via
2008 Jul 06
2
Regular expressions: bug or misunderstanding?
I'm trying to write a gsub() call that takes a string and escapes all the unescaped quote marks in it. So the string \" would be left unchanged, but \\" would be changed to \\\" because the double backslash doesn't act as an escape for the quote, the first just escapes the second. I have the usual problems of writing regular expressi...
2013 Jan 25
3
read.csv quotes within fields
All, I have some csv files I am trying to import. I am finding that quotes inside strings are escaped in a way R doesn't expect for csv files. The problem only seems to rear its ugly head when there are an uneven number of internal quotes. I'll try to recreate the problem: # set up a matrix, using escape-quote as the internal double quote mark. x <-
2012 Dec 11
2
Writing escaped unicode
I'd like to write unicode strings using the "\u" escape syntax. According to the documentation, print.default or encodeString will escape unicode using the \u convention. In practice, I can't make it work. > b="Unicode character: \ufffd" > print.default(b) [1] "Unicode character: ?" > encodeString(b) [1] "Unicode character: ?" I want to
2010 Jan 29
2
How to use escape characters in a string
Hi, I want to use a character as below in R, as.character("`X^`R\`S") [1] "`X^`R`S" Warning messages: 1: '\`' is an unrecognized escape in a character string 2: unrecognized escape removed from "`X^`R\`S" But I found errors. Can I use some option in as.character() to change this? Thanks Mary [[alternative HTML version deleted]]
2011 Feb 08
6
Unrecognised escape sequences
unfortunately, we keep getting this warns into the system log by puppet masters: " [...] Unrecognised escape sequence ''\<CHAR>'' in file <PATH> [...] " but then everything works fine; also, without using escapes, catalogs dont work on agents. What can we do to avoid these kind of errors in master syslogs? Please ,let us know ASAP and tell us if this problem will prevent remote execution in future versions, thanks Greets, Matteo -- You received this message because you are subscribed to the Google Group...
2016 Oct 29
2
-e escape rule
> Yeah, it only does space-splitting and that's all it will ever do. It still looks to me like there is a bug in the original escaping, since any command receiving that string is receiving a backslash that is not supposed to be there. It should only be escaping the string enough to get it to rsync, not trying to guess what rsync is going to do with it after it gets it. I'm not
2020 Mar 27
3
Escape character
Hi, I'm trying to understand how to use the escape character '^]' with the below command: virt-install --name=try06 --graphic none --pxe --network bridge=virbr0 --console pty,target_type=serial "Starting install... Connected to domain try06 Escape character is ^]" When I try to do '^]', it does not escape. The '--console' option makes no difference. In
2009 Jan 09
5
grep : escape "*"
Dear R useRs, Sorry for this foolish question, but I can't find how to escape the * character when using grep : > grep("-", c("/3", "2*3", "4-4")) [1] 3 > grep("/", c("/3", "2*3", "4-4")) [1] 1 > grep("*", c("/3", "2*3", "4-4")) Erreur dans grep("*",
2006 Jul 06
3
URI.escape() broken or misdocumented in Ruby 1.8.4
URI.escape() is supposed to be able to take a second parameter listing unsafe characters in the URI. This may be a regexp or string. If a string, it''s supposed to represent a character set listing all unsafe characters. An example given in the core documentation at: http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI/Escape.html#M008992 ...is: p URI.escape("@?@!",
2006 Jun 25
1
escaping in sqlite
Hi Timo&all, a recent change in the sql drivers introduced escaping, but sqlite is a different in this aspect: You cannot escape with a backslash, the only character that needs escaping is the quoting character itself (by doubling it, as the SQL standard says). As the escaping function does not know which quote character is used, one should only use the single tick ' (again, as the SQL
2020 Mar 27
2
Re: Escape character
On a Friday in 2020, Erik Skultety wrote: >On Fri, Mar 27, 2020 at 01:48:58PM +0000, Daniel P. Berrangé wrote: >> On Fri, Mar 27, 2020 at 01:45:21PM +0100, Ján Tomko wrote: >> > On a Friday in 2020, john doe wrote: >> > > Hi, >> > > >> > > I'm trying to understand how to use the escape character '^]' with the >> > >
2016 Jun 09
2
[GSoC 2016] Capture Tracking Improvements - BackgroundInformation
...et a full >>> picture of the approach. >>> >>> One small thing to watch out for: "capture" and "escape" are NOT the >>> same thing. A pointer may be captured if it's address is inspected, even >>> if the allocation never actually escapes. They are very related notions, >>> but keeping the difference in mind is necessary. >>> >>> Philip >>> >>> >>> On 06/02/2016 01:12 AM, Scott Egerton wrote: >>> >>>> Hi Nuno, >>>> >>>> This is great,...
2016 Oct 29
3
-e escape rule
On Fri, Oct 28, 2016 at 5:39 AM, Samuel Williams < space.ship.traveller at gmail.com> wrote: > Rsync passed the backslashes through without dealing with them. > Yeah, it only does space-splitting and that's all it will ever do. It still looks to me like there is a bug in the original escaping, since any command receiving that string is receiving a backslash that is not supposed
2009 Jan 05
1
Problem Escaping Spaces in File Name
...temporary_log_file.log' I am getting the error: rsync: link_stat "/backup/company/data/current_backup/company_Ralf/doc\ -\ network/." failed: No such file or directory (2) That particular call is escaped three times as per one of the examples on [1], but I have tried one and two escapes as well. I have attempted all manners of escaping listed on the Rsync site [1], but to no avail. I suspect that is because I am using rsync through SSH and those examples deal with connecting to the rsync daemon on the remote system. I have tried wrapping the source path in single quotes and d...