Displaying 20 results from an estimated 236 matches for "1_".
2009 Nov 16
2
on gsub (simple, but not to me!) sintax
...gnorance on regular expressions.
a matter I recently discovered.
Consider the following
foo <-
c("V_7_101110_V", "V_7_101110_V", "V_9_101110_V", "V_9_101110_V",
"V_9_s101110_V", "V_9_101110_V", "V_9_101110_V", "V_11_101110_V",
"V_11_101110_V", "V_11_101110_V", "V_11_101110_V", "V_11_101110_V",
"V_17_101110_V", "V_17_101110_V")
what I'm trying to obtain is to add a zero in front of numbers below 10,
as in
c("V_07_101110_V", "V...
2024 Mar 01
1
gsub issue with consecutive pattern finds
...vowels in the
regex by a character that you know cannot appear (if there is such)
and match it optionally, e.g. with '*" repetition specifier. I used
"?" for the optional character below (which must be escaped).
> gsub("([aeiouAEIOU])\\?*([aeiouAEIOU])", "\\1_\\2", "aerioue")
[1] "a_eri_ou_e"
Cheers,
Bert
On Fri, Mar 1, 2024 at 3:59?AM Iago Gin? V?zquez <iago.gine at sjd.es> wrote:
>
> Hi Iris,
>
> Thank you. Further, very nice solution.
>
> Best,
>
> Iago
>
> On 01/03/2024 12:49, Iris Simmo...
2024 Mar 01
1
gsub issue with consecutive pattern finds
...solution.
Best,
Iago
On 01/03/2024 12:49, Iris Simmons wrote:
> Hi Iago,
>
>
> This is not a bug. It is expected. Patterns may not overlap. However, there
> is a way to get the result you want using perl:
>
> ```R
> gsub("([aeiouAEIOU])(?=[aeiouAEIOU])", "\\1_", "aerioue", perl = TRUE)
> ```
>
> The specific change I made is called a positive lookahead, you can read
> more about it here:
>
> https://www.regular-expressions.info/lookaround.html
>
> It's a way to check for a piece of text without consuming it in t...
2024 Mar 01
1
gsub issue with consecutive pattern finds
Hi Iago,
This is not a bug. It is expected. Patterns may not overlap. However, there
is a way to get the result you want using perl:
```R
gsub("([aeiouAEIOU])(?=[aeiouAEIOU])", "\\1_", "aerioue", perl = TRUE)
```
The specific change I made is called a positive lookahead, you can read
more about it here:
https://www.regular-expressions.info/lookaround.html
It's a way to check for a piece of text without consuming it in the match.
Also, since you don't...
2024 Mar 01
1
gsub issue with consecutive pattern finds
Hi all,
I tested next command:
gsub("([aeiouAEIOU])([aeiouAEIOU])", "\\1_\\2", "aerioue")
with the following output:
[1] "a_eri_ou_e"
So, there are two consecutive vowels where an underscore is not added.
May it be a bug? Is it expected (bug or not)? Is there any chance to get
what I want (an underscore between each pair of consecutive vowel...
2008 Mar 27
1
functions
I wrote some functions for multiway CANDECOMP, i.e. for least
squares fitting of
a_{i_1\cdots i_m}\approx\sum_{s=1}^p x^1_{i_1s}x^1_{i_1s}\cdots
x^m_{i_ms}
with arrays of arbitrary dimension. Reminded me of the good old APL
days. I could not find this in the archives, but if it's already there,
I would appreciate if someone let me know.
==========================================================
Jan de Leeuw, 11...
2005 Mar 03
2
Attended Transfer (ATXFER) with CVS asterisk r 1_
Hi,
I successfully installed asterisk 1.0 with Capi 0.35. In my pbx system I
would like to use the atxfer function but is not included in the stable
asterisk.
Is there a way to include it in my version of asterisk: I did no used the
last cvs because I can't compile the chan_capi .in it. :(
Bye
2013 Jan 27
1
PATH directive rules
Hello Syslinux Team,
If I understand correctly (and I should emphasize that condition),
the lib*.c32 library modules, when required, are initially
searched-for according to the following (fallback) rules:
1_ Search for the relevant lib*.c32 file(s) in the Current Working
Directory.
2_ Search for the relevant lib*.c32 file(s) in the directory where
ldlinux.c32 is located.
Then the lib*.c32 files are searched-for according to the PATH
directive, as follows:
3_ Search for the relevant lib*.c32 file(s)...
2016 Mar 06
4
Syslinux 6.04-pre1
...to all derivatives.
>
> +Changes in 6.04:
> + * NASM 2.11.08 or later is required to build
> + SYSLINUX from source.
> +
> Changes in 6.03:
> * chain: Fix chainloading on 6.02 (Raphael S. Carvalho).
> * core: Do not leak the __lowmem and __bss16 macros to modules;
1_ The NEWS file would not be an adequate place to post such
information, for several reasons.
2_ Expressing the problem with NASM in such a way would be very
inaccurate. The problem is in NASM 2.11.06, and only in that version.
The problem is not in Syslinux, and many other versions of NASM (such...
2014 Jun 08
2
How to use --once? Does it work?
>
> To be clear, I am not saying there is no bug - there might be.
>
I performed the following test with several versions of Syslinux:
1_ Execute:
'extlinux --once=non_default_label --install /mnt/sda1' ;
2_ In first reboot, the "non_default_label" should be executed;
3_ In second reboot, the default label should be executed.
Results:
_ 4.05 to 4.07: OK.
_ 5.00-pre1 to 5.00-pre7: fail.
_ 5.00-pre8: step #2 OK, ste...
2008 May 28
2
Gantt chart like graphics
...NA 2 NA
(date ascending order, 1:n products with status 1, 2 or NA)
and want to produce a graphic like this, where 1 or 2 are colored
rectangles, NAs are white:
product1 11..........2............2_
product2 11..........2............22
.
.
productn 12.........._............1_
time_axis (=dat) ->
which looks like a Gantt chart with multiple time slots. I have tried it
with image() which looks good, but I don't know how to produce an y-axis
with labels product1, etc. and a x-axis with date labels.
Further, I want to draw a scatterplot below (using...
2017 Mar 26
3
where to swap
...ing
> 48e94f4fa7b3c32cbd43b6e57c64bc933f76d059.
>
>
> Except possibly the xor %cx, %cx part as above depending on how
> causcious or spacesaving you want to be.
>
> It seems both Thomas and I think it should remain.
>
>
> --
> MartinS
Then I would suggest:
1_ revert the wrong commit;
2_ apply the first part of the "right" patch in one commit, as it
corrects one known bug;
3_ apply the second part of the "right" patch in a separated commit,
which can potentially deal with a different situation than the first
part of the patch, and,...
2017 Mar 21
1
I/O error
...t;
>> Thanks,
>> Anton
>>
>
>
> A: Because it fouls the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
>
> 0_ Please avoid top-posting.
>
> 1_ Beware: YOCTO/OE uses a customized Syslinux.
>
> 2_ It is still not clear (to me) when exactly the failure occurs. Does
> it fail before the bootloader? Is the bootloader itself failing? Is the
> _kernel_ not loading, after the bootloader step got already to the boot
> prompt?
>...
2013 Sep 17
2
Request for the Admin
To the Syslinux mailing list administrator(s):
There seem to be some issue when searching the Syslinux mailing list
archives.
To replicate (example):
1_ Open a Google web search page
2_ Search for "site:http://www.syslinux.org/archives/"
3_ Click "Search tools"
4_ Limit the search to "Past month".
Result: no match!
This has been happening for about 10 months or so.
A few mailing list search repositories / engines ha...
2014 Jun 26
2
ALLOWOPTIONS directive
...specified in an APPEND) statement. The default is 1.
[/quote]
My understanding of the behavior of "ALLOWOPTIONS 0" is that unless I
type-in a command that is exactly the same as the result of executing
a label, then the command is "not accepted" ("not allowed").
1_ Is my understanding correct?
2_ Are there any cases in which the resulting behavior is different
from using the IMPLICIT directive (with respective labels)?
While using 'ALLOWOPTIONS 0'...
3_ Should typing-in a 'label' (instead of the whole equivalent
command) be accepted too...
2020 Oct 21
1
Customized theme for Syslinux.cfg
>Several points (please read the whole email before doing anything else):
>
>1_ It is not clear whether you still need/want to "avoid displaying" the menu border (i.e. make it transparent). You mentioned that you >eventually managed to do so, but then you also ask (again) about vesamenu.c regarding the menu border. Or, perhaps... Do you >actually, really, want...
2000 Apr 26
2
Cross compiling a package for Windows on Linux
...rary/profile/Common.R ../../library/profile/Rprofile.gnw--------
mkdir -p ../../../library/base/R
cat ../../library/profile/Common.R ../../library/profile/Rprofile.gnw > ../../../library/base/R/Rprofile
sed -e '/^#/d' -e '/Rsockfork/d' -e 's/F77_SUBROUTINE(\(.*\))/void * \1_();/' -e 's/C_FUNCTION(\(.*\))/void * \1();/' ../../appl/ROUTINES > ../../include/FFDecl.h
sed -e '/^#/d' -e '/Rsockfork/d' -e 's/F77_SUBROUTINE(\(.*\))/ { "\1_", \1_},/' -e 's/C_FUNCTION(\(.*\))/{ "\1", \1 },/' ../../appl/ROUTINES...
2013 Sep 15
2
syslinux.exe, 5.01 on xp: Failed to load COM32 file, and more
...0x001FA200! malloc return 0x001fb660
>
> I'd like to suggest a simple change that should ease the situation:
> change the location of SYSLINUX to
> c:\syslinux\
>
> instead of having "c:\downloadedPrograms\syslinux\".
>
> This suggestion means that:
> 1_ all the files related to Syslinux (e.g. the cfg file, the c32
> modules...) should be located under "c:\syslinux\" (.c32 files should
> always match the same version of Syslinux being installed, and don't
> forget to use the lib*.c32 files.) - this should be your first ste...
2016 Feb 26
5
Anyone know whats up with wiki?
> Anyway, Wiki is operational, but Dear List: Please report surprises.
1_ At the bottom-center, of each wiki page, there used to be a:
"This page has been accessed 'N' times."
message, in which 'N' was a number that (I think) comes from setting:
$wgDisableCounters = true;
Additionally, there used to be a "Special:PopularPages" page...
2017 Mar 21
2
I/O error
Thanks. I've looked through all the links, and it seems everything is
fine wrt. to what was mentioned there (I've disabled 64 bits in mke2fs,
but it didn't help). I'd be glad to provide more details, but the error
message is the only info I've got by now. It seems nothing else can be
got from syslinux shell without modifiying the code.
I've tried to make it load the kernel