Perl 6 style regular expressions

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default Perl 6 style regular expressions

    I was wondering if anyone has done any work on implementing Perl 6 style
    regular expressions.

    Looking at the design docs at
    [url]http://www.perl.com/pub/a/2002/06/04/apo5.html[/url] it looks like they've got
    some useful features.

    At the very least it'd probably make an interesting project.

    Best Regards

    Mark Sparshatt



    mark Guest

  2. Similar Questions and Discussions

    1. Regular Expressions help...
      Using regular expressions, I want to negate an entire word instead of characters, for example this would match any word that doesn't have the...
    2. RE : RE : RE : RE : Regular expressions
      Here is a sample of what your piece of code returns on my Aix box. 44520 -> /prog/gena/8.1.1/bin/dispatch 44650 -> reproject 45176 -> aioserver...
    3. RE : Regular expressions
      Actually, I have to test two conditions to get into a block, If the strings found are either "one two" or "two three", go ahead. if ($text =~...
    4. Help with regular expressions.
      Apples and Oranges: I think your format string is wrong, try: {0:d} "Pablo Pecora" <pablo.pecora@itau.com.ar> wrote in message...
    5. help with regular expressions
      Hello, just getting grips with Perl and RE, but need your help. I am trying to open a file, print its contents to a textbox, but extract...
  3. #2

    Default Re: Perl 6 style regular expressions

    * mark <msparshatt@yahoo.co.uk> [Oct, 10 2003 18:00]:
    > I was wondering if anyone has done any work on implementing Perl 6 style
    > regular expressions.
    Not that I know of, more than the one for Perl6 perhaps ;-)
    If anyone is, I'd also like to know
    > At the very least it'd probably make an interesting project.
    I'm planning to do something similar to this.
    It seems very useful,
    nikolai

    --
    ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
    ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
    ::: page: [url]www.pcppopper.org[/url] :: fun atm: gf,lps,ruby,lisp,war3 :::
    main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

    Nikolai Weibull Guest

  4. #3

    Default Re: Perl 6 style regular expressions

    On Sat, 11 Oct 2003 02:13:00 +0900, Nikolai Weibull wrote:
    > * mark <msparshatt@yahoo.co.uk> [Oct, 10 2003 18:00]:
    >> I was wondering if anyone has done any work on implementing Perl 6
    >> style regular expressions.
    > Not that I know of, more than the one for Perl6 perhaps ;-) If anyone is,
    > I'd also like to know
    >> At the very least it'd probably make an interesting project.
    > I'm planning to do something similar to this.
    > It seems very useful,
    I've been reading the apocalypse and exegesis on this, and it mostly seems
    like good ideas, and might not be a bad thing to support as an extension in
    Ruby (although I wouldn't call them REs, per Damion's exegesis).

    -austin
    --
    austin ziegler * [email]austin@halostatue.ca[/email] * Toronto, ON, Canada
    software designer * pragmatic programmer * 2003.10.10
    * 15.04.21



    Austin Ziegler Guest

  5. #4

    Default Re: Perl 6 style regular expressions

    On Sat, 11 Oct 2003, Austin Ziegler wrote:
    > I've been reading the apocalypse and exegesis on this, and it mostly seems
    > like good ideas, and might not be a bad thing to support as an extension in
    > Ruby (although I wouldn't call them REs, per Damion's exegesis).
    That'd be "Damian". :)

    Dan

    Dan Sugalski Guest

  6. #5

    Default Re: Perl 6 style regular expressions

    In article <2003101015841.848405@PADD>, Austin Ziegler wrote:
    > I've been reading the apocalypse and exegesis on this, and it mostly seems
    > like good ideas, and might not be a bad thing to support as an extension in
    > Ruby (although I wouldn't call them REs, per Damion's exegesis).
    I agree; maybe something like "match pattern" or "pattern match".
    Jason Williams Guest

  7. #6

    Default Re: Perl 6 style regular expressions

    On Sat, 11 Oct 2003 04:32:53 +0900, Dan Sugalski wrote:
    > On Sat, 11 Oct 2003, Austin Ziegler wrote:
    >> I've been reading the apocalypse and exegesis on this, and it mostly
    >> seems like good ideas, and might not be a bad thing to support as an
    >> extension in Ruby (although I wouldn't call them REs, per Damion's
    >> exegesis).
    > That'd be "Damian". :)
    Well, so it would. :)

    -austin
    --
    austin ziegler * [email]austin@halostatue.ca[/email] * Toronto, ON, Canada
    software designer * pragmatic programmer * 2003.10.10
    * 16.01.30



    Austin Ziegler Guest

  8. #7

    Default Re: Perl 6 style regular expressions

    On Sat, 11 Oct 2003 02:13:00 +0900, Nikolai Weibull wrote:
    > * mark <msparshatt@yahoo.co.uk> [Oct, 10 2003 18:00]:
    >> I was wondering if anyone has done any work on implementing Perl 6
    >> style regular expressions.
    > Not that I know of, more than the one for Perl6 perhaps ;-) If anyone is,
    > I'd also like to know
    >> At the very least it'd probably make an interesting project.
    > I'm planning to do something similar to this.
    > It seems very useful,
    I've been reading the apocalypse and exegesis on this, and it mostly seems
    like good ideas, and might not be a bad thing to support as an extension in
    Ruby (although I wouldn't call them REs, per Damion's exegesis).

    -austin
    --
    austin ziegler * [email]austin@halostatue.ca[/email] * Toronto, ON, Canada
    software designer * pragmatic programmer * 2003.10.10
    * 15.04.21



    Austin Ziegler Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139