Hi list,
I'd really like to use Guile in a program I'm writing, but I'm having a
problem in that I'm using the ucontext calls rather heavily to run a
great amount of light-weight threads (in only one pthread, that is), and
it seems that Guile doesn't exactly thrive in that environment.
>From what
> From: Linas Vepstas
> Cc: guile-user@gnu.org
>
> 2009/5/13 Sebastian Tennant :
>
> > Restricting regexps to actual text is fine... until
> > you need to grep binary data, or, as in this case,
> > a combination of text and binary data.
>
> > in cgi.scm that extracted the uploaded (possibly
> >
2009/5/13 Sebastian Tennant :
> Restricting regexps to actual text is fine... until you need to grep
> binary data, or, as in this case, a combination of text and binary data.
Last I looked, standard c-library posix/gnu/perl/java
regex only worked on strings, not on binary data.
You'll have troub
Quoth l...@gnu.org (Ludovic Courtès):
> Hello,
>
> Sebastian Tennant writes:
>
>> (info "(guile-1.8)Regexp Functions")
>>
>> "Zero bytes (`#\nul') cannot be used in regex patterns or input
>> strings, since the underlying C functions treat that as the end of
>> string. If there's a zero byte
Quoth l...@gnu.org (Ludovic Courtès):
> Hello,
>
> Sebastian Tennant writes:
>
>> (info "(guile-1.8)Regexp Functions")
>>
>> "Zero bytes (`#\nul') cannot be used in regex patterns or input
>> strings, since the underlying C functions treat that as the end of
>> string. If there's a zero byte
Hello,
Sebastian Tennant writes:
> (info "(guile-1.8)Regexp Functions")
>
> "Zero bytes (`#\nul') cannot be used in regex patterns or input
> strings, since the underlying C functions treat that as the end of
> string. If there's a zero byte an error is thrown."
I think it makes sense to
Quoth Thien-Thi Nguyen :
> Perhaps you can convert the string in variable `upload' to a uniform
> vector and write it out using `uniform-vector-write'. It may be the
> case, too, that the string can be passed to `uniform-vector-write'
> directly
I've isolated the problem.
(info "(guile-1.8)Regex