Hehheh, yeah thats about the same reaction I had to Pattern when I first
encountered it. I never quite "got" SNOBOL, which Pattern seems to share
some heritage with.
--
bc


On Fri, Jul 12, 2013 at 3:21 PM, James Vincent
<[email protected]>wrote:

> My head exploded.  I did have PIPSYSF and looked at patterns.  Wow - way
> powerful but for the quick and casual needs, it is close to learning
> neurosurgery to remove a splinter!
>
> I came up with:   pattern (to("33."):out out("32G") len(5) or rem:out)*
> rpos(0)
>
> If anyone sees that I could do it easier, better, faster than that please
> let me know!
>
>
> -- James Vincent
> -- Sr. z/VM Systems Programmer, Nationwide Ins.
> -- V.P. & Director of Conference Operations, SHARE Inc.
> -- Calendar: http://www.tinyurl.com/JSVCalendar
>
>
> On Fri, Jul 12, 2013 at 1:59 PM, Bob Cronin <[email protected]> wrote:
>
> > See http://vm.marist.edu/~pipeline/pipsysf.html and red up on "pattern",
> > perhaps.
> > --
> > bc
> >
> >
> > On Fri, Jul 12, 2013 at 12:48 PM, James Vincent <
> > [email protected]
> > > wrote:
> >
> > > Does anyone know of a way to make changes to arbitrary strings?  For
> > > instance, I want to change any "33.%%" to "32G" where the %% could be
> > > anything.
> > >
> > > I've dug around a little and I nothing has jumped out at me yet.  As I
> > keep
> > > looking I thought I would ask this list too.
> > >
> > > Thanks!
> > >
> > > -- James Vincent
> > > -- Sr. z/VM Systems Programmer, Nationwide Ins.
> > > -- V.P. & Director of Conference Operations, SHARE Inc.
> > > -- Calendar: http://www.tinyurl.com/JSVCalendar
> > >
> >
>

Reply via email to