search for: escaping

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

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.
This implements a few useful escape sequences: ><rescue> ^]? virt-rescue escape sequences: ^]? - print this message ^]h - print this message ^]i - print inspection data ^]q - quit virt-rescue ^]u - unmount filesystems ^]x - quit virt-rescue to send the escape key to the rescue shell, type it twice ^]i root device: /dev/sda3 product name: Fedora 25 (Twenty Five) type: linux
2009 Aug 17
1
regex problems with the escape character
Hi R-users and R-experts, I am having a hard time in figuring out how to tackle regex questions where the "backslash" character is an integral part of the string. Let me explain how I?came across?this problem : I wanted to clearly see all the components in the windows environmental path variable. This is a long string.?For easy readability, I wanted to split up this string so that each
2006 Jul 14
2
how to get builder 2.0 to escape attributes in rxml
...Markup.new xml.sample(:escaped=>"This&That", :unescaped=>:"Here&amp;There") xml.target! => <sample escaped="This&amp;That" unescaped="Here&amp;There"/> I tried to install and repeat this result, but attributes are not escaping Here is the gem install and the attempt to test escaping attributes: C:\rails>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install builder --version 2.0 Attempting local installation of ''builder'' Local gem file not found: builder*.gem Attempting remote insta...
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 expressions involving backslashes which
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
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 proposing some additional characters to split on,...
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...
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
On Tue, Jun 7, 2016 at 4:02 PM, Philip Reames via llvm-dev < llvm-dev at lists.llvm.org> wrote: > (+CC LLVM dev - I'd dropped it in my original reply unintentionally and > just noticed.) > > On 06/07/2016 01:35 PM, Philip Reames wrote: > >> (This was written in a rush. There may be mistakes; if so I'll try to >> correct later.) >> >> At the
2016 Oct 29
3
-e escape rule
...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 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. To work around that bug, you could consider using an ssh-call...
2009 Jan 05
1
Problem Escaping Spaces in File Name
...or: 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 double quotes (and the single then double quote as...