Ask Your Question

Need help on regex matching in Writer [closed]

asked 2014-09-02 08:23:07 +0100

Prince gravatar image

How can I find regex matches on these?

  • have eaten
  • had eaten
  • having eaten

Well, these aren't really what I want to find. Just examples.

I've tried "ha.* eaten" but it's too greedy.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Prince
close date 2014-09-09 12:14:35.696905

2 Answers

Sort by » oldest newest most voted

answered 2014-09-02 09:33:40 +0100

karolus gravatar image


ha[^ ]* eaten
edit flag offensive delete link more


Oh, that works too. Thanks. Took me a while to learn why it does.

Prince gravatar imagePrince ( 2014-09-09 12:12:39 +0100 )edit

answered 2014-09-09 12:08:22 +0100

Prince gravatar image

Oh well, I've found the answer myself: ha[:alpha:]* eaten

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-09-02 08:23:07 +0100

Seen: 76 times

Last updated: Sep 09 '14