Displaying 20 results from an estimated 10000 matches similar to: "Question about Unix file paths (and proposal for new regexp class)"
2003 Nov 24
8
Question about Unix file paths
Gabor Grothendieck pointed out a bug to me in list.files(...,
full.name=TRUE), that essentially comes down to the fact that in
Windows it's not always valid to add a path separator (slash or
backslash) between a path specifier and a filename. For example,
c:foo
is different from
c:\foo
and there are other examples.
I'm going to fix this, but I'm wondering whether the fix is
2005 Aug 21
0
Patch for Element.Class - wrong regexp
Hello,
I noticed (due to a recent post by Martin Honnen to clp) that
Element.Class uses wrong regexps for its operations.
E.g., Element.Class.has() will find "classA" in "classA-foobar"
I also changed the interface of .has() to the more general one used in
.has_any()
--- util.js.old 2005-08-21 19:18:40.000000000 +0200
+++ util.js 2005-08-21 19:31:42.000000000 +0200
@@
1997 Dec 05
0
R-beta: New R Version for Unix
Version 0.60 of R for Unix is now available. Release of this version
has been delayed for a variety of reasons, but we hope that it will
provide a good deal more stability and functionality than previous
versions. However it should be regarded as of "alpha" quality for a
short shakedown period.
We would like user feedback to help us improve the quality of R.
You can do this by
1997 Dec 05
0
R-beta: New R Version for Unix
Version 0.60 of R for Unix is now available. Release of this version
has been delayed for a variety of reasons, but we hope that it will
provide a good deal more stability and functionality than previous
versions. However it should be regarded as of "alpha" quality for a
short shakedown period.
We would like user feedback to help us improve the quality of R.
You can do this by
2006 Jun 05
5
Regexp - date validation
Can somebody tell me why the following RegExp doesn''t work for date
validation in Rails... It validates fine in RadRails -- using REgExp
panel. Intended format: (mm/dd/yyyy):
%r{^(0[1-9]|1[012])(-|/)(0[1-9]|[12][0-9]|3[01])(-|/)(19|20)([0-9][0-9])$}
If i try the following, it works in Rails:
%r{(0[1-9]|1[012])(-|/)(0[1-9]|[12][0-9]|3[01])}
When I add the last piece, it
2007 Dec 11
0
[Kurt.Hornik@wu-wien.ac.at: Re: range( <dates>, na.rm = (PR#10509)
Kurt.Hornik at wu-wien.ac.at wrote:
> ------- Start of forwarded message -------
> Date: Tue, 13 Nov 2007 21:44:57 +0100
> To: Steve Mongin <sjm at ccbr.umn.edu>
> Cc: cran at r-project.org
> Subject: Re: range( <dates>, na.rm =3D TRUE )
> In-Reply-To: <200711062044.OAA14064 at minnow.ccbr.umn.edu>
> Reply-To: Kurt.Hornik at wu-wien.ac.at
> From: Kurt
2007 Oct 21
0
Taking a stab at a pure Ruby Dir.glob
Hi all,
Here''s what I''ve come up with so far for a pure Ruby Dir.glob for MS
Windows. It almost works. The problem right now is the [] notation,
which I''m not translating properly into a regex.
I haven''t started on the ''**'' notation yet either, but I figure that''s
more of a control flow issue. Feel free to disagree with me and/or
1997 Apr 09
1
R-beta: Source code: grep(.) and objects(..., pattern):
If you have many objects, in the users's GlobalEnv or in the system
SystemEnv,
you would like to be able to do something like
ls("lm*.t")
to get only the objects starting with 'lm' and ending in '.t'.
The following code provides this and more:
"grep(.)" which should be S-compatible and improved
"objects(.)" with new 'pattern'
2017 Jan 04
0
Formulating Advanced Queries with Xapian-Omega
On Thu, Dec 29, 2016 at 05:44:50PM +0100, Giulio Teslano wrote:
> a. What other types of extended wild card(s) options are there ?
>
> or is this still currently limited to these two characters '*?' ?
As I said, the branch "adds support for arbitrary glob-style wildcard
patterns (where * matches 0 or more characters and ? a single
2006 Feb 08
0
Stange regexp problem with case sensitivity
Environment:
CentOS 4.2 (RHES4 clone)
Ruby 1.8.4
Rails 1.0
I am having a small difficulty with case sensitive matching in some
ruby code:
f_nam_re = Regexp.new(f_nam_re_s,"x")
produces these test results:
The passed regexp: ^QPCCCMR[[:digit:]]$
The regexp used is:
/^QPCCCMR[[:digit:]]$/i
$= is false
qpcccmr1 matches
QPCCCMR1 matches
QPCCMMR1 does not match
qpCCCMR1 matches
QPCCCMRC
2009 Nov 20
1
Gem/Plugin to Convert Ruby Regexp to Javascript Regexp?
Just a quick question or maybe a suggestion, is there a gem/plugin
that will convert ruby regexp to javascript regexp?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2007 Dec 11
1
[Kurt.Hornik@wu-wien.ac.at: Re: range( <dates>, na.rm = TRUE )] (PR#10508)
------- Start of forwarded message -------
Date: Tue, 13 Nov 2007 21:44:57 +0100
To: Steve Mongin <sjm at ccbr.umn.edu>
Cc: cran at r-project.org
Subject: Re: range( <dates>, na.rm = TRUE )
In-Reply-To: <200711062044.OAA14064 at minnow.ccbr.umn.edu>
Reply-To: Kurt.Hornik at wu-wien.ac.at
From: Kurt Hornik <Kurt.Hornik at wu-wien.ac.at>
X-AntiVirus: checked by AntiVir
2016 Nov 11
0
lazy-load SNI?
On Friday 11 of November 2016, Felipe Gasper wrote:
> Hello,
>
> We?re rolling out large SNI deployments for our mail servers. Each domain
> gets an entry like this in the config:
>
> local_name mail.foo.com {
> ssl_cert = </ssl/domain_tls/*.foo.com/combined
> ssl_key = </ssl/domain_tls/*.foo.com/combined
> }
Lack of glob/regexp support here is also a
2007 Apr 25
0
Redcloth bug - Stack overflow in regexp matcher
Hi,
I''ve been using the rassmalog static blogging engine and have
encountered a stack overflow inside the redcloth regexp matcher. I
don''t seem to suffer this error on my Ubuntu (Feisty Fawn) box (with
Ruby 1.8.4??), but I do get it on my Gentoo system. Running the
following line will generate it (I''ve attached the YAML/redcloth file
to this message).
$ ruby -ryaml
2017 Feb 23
0
help with RewriteRule regexp
And it won't if 'http://webmail.domain' is the actual text, the ^ says "at the start of the line" (in other words, 'webmail\.' must start in character position 1). Choices: Remove the caret and accept the consequence that all references to "webmail\." will be changed or determine how to re-write (pardon the pun) the rule to narrow the scope to (such as)
2007 Dec 11
2
range( <dates>, na.rm = TRUE ) (PR#10508)
(Drats! Jitterbug is playing tricks with the PR# again. Attempting to
refile so that we can kill PR#10509)
Peter Dalgaard wrote:
> Kurt.Hornik at wu-wien.ac.at wrote:
> =20
>> ------- Start of forwarded message -------
>> Date: Tue, 13 Nov 2007 21:44:57 +0100
>> To: Steve Mongin <sjm at ccbr.umn.edu>
>> Cc: cran at r-project.org
>> Subject: Re: range(
2003 Nov 27
2
ENUM regexp replacements
Anyone succeeded in using regexp replacements in ENUM, like
"!\\+421257296(.*)$!sip:2\\1@stuba.sk!"
I can't get it to work in ASterisk.
I've added '\\1' and Debug echos "1"
I've added '\\\\1' and debug echoes "\1", but regexp fails to work.
The example above is from the nic.at presentation, I can't get it to work.
/Olle
2025 Jan 22
1
Depends: R (>= 4.1) for packages that use |> and \(...)
Hello all,
Would packages using the underscore placeholder with the native pipe need
to also depend on R >= 4.2.0?
There appear to be a number, modifying Ivan's GitHub search:
https://github.com/search?q=org%3Acran+path%3A%2F%5B.%5D%5BRr%5Dd%3F%24%2F+%2F%5Cs%5C%7C%3E%5Cs.*%3D%5Cs%3F_%2F&type=code
Regards,
Ian
____
Ian Farm
Laboratory Manager, The Agroecology Lab
University of Maine
2017 Feb 22
2
help with RewriteRule regexp
My regexp skills are somewhere infinitesimally close to zero. I have
never really 'gotten' them.
That said, I have spent a couple hours already search for help to write
a rewriterule that works on a string in the URL. In particular I want
success if either of the following were provided:
webmail.domain (e.g. webmail.foo.com)
server/webmail (e.g. www.foo.com/webmail)
And I have not
2007 Oct 04
0
Prototyping the Dir class
Hi all,
I''ve been prototyping a Windows-only Dir class for Ruby. Below is what
I''ve got so far. The class methods were easy, except for Dir.glob. The
code in dir.c is just nasty, and I can''t help but think that it could be
heavily refactored. I did come across this link:
http://www.codeproject.com/file/fileglob.asp
But I haven''t investigated it yet. Anyone