similar to: Bug report: POSIX regular expression doesn't match for somewhat higher values of upper bound

Displaying 20 results from an estimated 1000 matches similar to: "Bug report: POSIX regular expression doesn't match for somewhat higher values of upper bound"

2017 Apr 05
0
Bug report: POSIX regular expression doesn't match for somewhat higher values of upper bound
>>>>> <dietmar.schindler at manroland-web.com> >>>>> on Tue, 4 Apr 2017 08:45:30 +0000 writes: > Dear Sirs, > while >> regexpr('(.{1,2})\\1', 'foo') > [1] 2 > attr(,"match.length") > [1] 2 > attr(,"useBytes") > [1] TRUE > yields the correct match, an
2014 May 02
1
Authors@R: and Author field
Hi to all Authors@R: c(person("fooa","foob", role = c("aut","cre"), email = "fooa.foob@fooc.de"), person("foo1","foo2", role = c("ctb"), email = "foo1.foo2@foo3.de")) Author: fooa foob, with contributions from foo1 foo2 using r CMD check --as-cran .. (R 3.1
2006 Mar 24
5
problems with ".this"
Hello I´m making a class using prototype''s class.create(), like this: var onewClass = Class.create(); onewClass.prototype = { initialize : function(array) { this.variable = "fooo"; this.array = array; }, function1 : function() { this.array.each(function(element){ alert(element);
2018 Jul 03
2
Why Clang is yielding different LLVM IR return type for the same function
Hi: So I have a library function called fooo() in a source file B.c and an external A.c file that is referencing a function fooo() in it. foo is returning a pointer to a structure A.ll: %struct._bar= type { %struct._foo, i32, i32 (%struct.doo*, %struct.doo*, %struct.doo*)* } declare i8* @fooo() #2 B.ll: %struct._bar= type { %struct._foo, i32, i32 (%struct.doo*, %struct.doo*, %struct.doo*)* }
2008 Apr 28
1
variable names when using S3 methods
I'm seeing some funny behavior when using methods (the older S3 type) and having variables that start with the same letter. I have a vague recollection of reading something about this once but now can't seem to find anything in the documentation. Any explanation, or a link to the proper documentation, if it does exist, would be appreciated. Thanks, Aaron Rendahl University of
2018 Jul 31
0
RFC: make as.difftime more consistent or convenient
Hello! I notice I can convert strings containing hour, minute or second specifications to a 'difftime': > as.difftime("12 h", "%H") Time difference of 12 hours > as.difftime("12 m", "%M") Time difference of 12 mins > as.difftime("12 s", "%S") Time difference of 12 secs But I can't do so with a week specification,
2018 Aug 01
1
RFC: make as.difftime more consistent or convenient
Hello! you, Emil Bode <emil.bode at dans.knaw.nl>, wrote on Tuesday, July 31, 2018 1:55 PM: > Some of the changes you're proposing could be made (with effort), but note that you're not > restricted to providing strings with a format. > What you're trying to do can be accomplished with as.difftime(12, units='weeks'), see also > ?as.difftime > > Or if
2015 Mar 02
2
Errors on Windows with grep(fixed=TRUE) on UTF-8 strings
On Windows, grep(fixed=TRUE) throws errors with some UTF-8 strings. Here's an example (must be run on Windows to reproduce the error): Sys.setlocale("LC_CTYPE", "chinese") y <- rawToChar(as.raw(c(0xe6, 0xb8, 0x97))) Encoding(y) <- "UTF-8" y # [1] "?" grep("\n", y, fixed = TRUE) # Error in grep("\n", y, fixed = TRUE) : invalid
2016 Feb 16
2
DllImport: How to specify the library to link to?
Hi, I am absolutely new to LLVM. Currently reading through documentation and the C-API (which i want to use). As i am working on Windows, i was curios on how to specify an import which links to a function exported by a dll. The DLLStorageClass seems to be the wy to go, this seems clear. But after declaring a function for import, how do i specify the DLL the function is included in?
2006 Nov 09
1
invert argument in grep
Hello, What about an `invert` argument in grep, to return elements that are *not* matching a regular expression : R> grep("pink", colors(), invert = TRUE, value = TRUE) would essentially return the same as : R> colors() [ - grep("pink", colors()) ] I'm attaching the files that I modified (against today's tarball) for that purpose. Cheers, Romain --
2006 Jan 27
4
regular expressions, sub
Hi, I am trying to use sub, regexpr on expressions like log(D) ~ log(N)+I(log(N)^2)+log(t) being a model specification. The aim is to produce: "ln D ~ ln N + ln^2 N + ln t" The variable names N, t may change, the number of terms too. I succeded only partially, help on regular expressions is hard to understand for me, examples on my case are rare. The help page on R-help
2009 Mar 10
1
suggestion/request: install.packages and unnecessary file modifications
Dear R-devel When 'install.packages' runs, it updates all html files in all packages. Mostly, there seems to be no actual change to the html file contents, but the date/time does change. This has causing been me a bit of trouble, because I keep synchronized versions of R on several different machines, and whenever I install a package, many MB of file transfers are required; my slow upload
2017 Jun 08
2
regular expression help
Dear All, My query is: Do we always need to use perl = TRUE option when doing ignore.case=TRUE? A small example : my_text = "RECOVERY OFFICER-II\nDEBTS RECOVERY TRIBUNAL-III\n RC No. 162/2015\nSBI VS RAMESH GUPTA.\n Dated: 01.03.2016 Item no.01\n Present: Ms. Sonakshi, the proxy counsel for Ms. Usha Singh, the counsel for ARCIL.\n None for the CDs.\n
2020 Feb 14
3
shared folder name or public folder with mail address
On 2/14/20 2:23 PM, Tobias Kirchhofer wrote: > On 14 Feb 2020, at 14:05, Armin Schindler wrote: > >> On 2/14/20 11:44 AM, Tobias Kirchhofer wrote: >>> On 14 Feb 2020, at 11:06, Armin Schindler wrote: >>> >>> ??? Hello! > > [?] > >>> For our new setup (planned with CentOS 8, waiting for the official repo for the latest dovecot >>>
2014 Oct 19
1
Writing UTF8 on Windows
Recent functionality in jsonlite allows for streaming json to a user supplied connection object, such as a file, pipe or socket. RFC7159 prescribes json must be encoded as unicode; ISO-8859 (including latin1) is invalid. Hence I would like R to write strings as utf8, irrespective of the type of connection, platform or locale. Implementing this turns out to be unsurprisingly difficult on windows.
2018 Feb 15
2
writeLines argument useBytes = TRUE still making conversions
I think this behavior is inconsistent with the documentation: tmp <- '?' tmp <- iconv(tmp, to = 'UTF-8') print(Encoding(tmp)) print(charToRaw(tmp)) tmpfilepath <- tempfile() writeLines(tmp, con = file(tmpfilepath, encoding = 'UTF-8'), useBytes = TRUE) [1] "UTF-8" [1] c3 a9 Raw text as hex: c3 83 c2 a9 If I switch to useBytes = FALSE, then
2005 Jun 16
9
chan_capi-cm-0.5 release announcement
Hi all, I would like to announce the first release of the chan_capi channel driver on sourceforge.net The package is available for download with name chan_capi-cm-0.5 and is the current CVS HEAD. It is derived from the chan_capi-0.4.0PRE1 of kapejod. The main changes are: - complete rework - fix race-conditions - fix call state handling - rework of debug/verbose messages - added capiFax
2002 Jun 19
1
new version of print.factor
Thanks to Tony Plate for letting me know what the abbreviate.arg option does. I think this could be made more flexible (I.e. =TRUE, =FALSE, =#, where # would be passed to the abbreviate min.length argument). But it follows the example I was given. "print.factor" <- function (x, quote = FALSE, max.levels=5, print.levels = {if (max.levels==0) FALSE else TRUE},
2016 Sep 21
2
error handling in strcapture
Michael, thanks for looking at my first issue with utils::strcapture. Another issue is how it deals with lines that don't match the pattern. Currently it gives an error > strcapture("(.+) (.+)", c("One 1", "noSpaceInLine", "Three 3"), proto=list(Name="", Number=0)) Error in strcapture("(.+) (.+)", c("One 1",
2004 Oct 15
4
NetBios problem with Samba 2.x
I'm in a bit of a pickle, and I need some help. I'm forced to disable netbios on any machine that leaves the company because of how MS Exchange works over a VPN. I have Samba 2.x on two Compaq Tru64 5.x machines, each with one (public) share. With netbios enabled, the client machines can access the share with no issues. With netbios disabled, I get something like "No network