emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel Martins" <danielemc@gmail.com>
To: Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>
Cc: bastien.guerry@ens.fr, Emacs-orgmode@gnu.org
Subject: Regexp problem: org-mode and remind integration
Date: Wed, 14 Jan 2009 00:05:05 -0200	[thread overview]
Message-ID: <6ac505ad0901131805j2cb519c9i680e3a783422e753@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1454 bytes --]

Sorry for the confusion,

I did try the empty regexp as suggested and it "worked" ie no problem
appeared.

My problem is to find a regexp for timestamps outside DEADLINE: and
SCHEDULE: rows

In other words, given three variables A B C with regexps.

If I have a regexp given by variable A and I want to find a text which
satisfies A but DO NOT satisfy B nor C how can I write uch regexp?

2009/1/13 Olaf Dietsche
<olaf+list.orgmode@olafdietsche.de<olaf%2Blist.orgmode@olafdietsche.de>
>

> "Daniel Martins" <danielemc@gmail.com> writes:
>
> > I did your test wuth a null regexp
> >
> > It is a regexp problem!
> >
> > Org-mode has two variables: org-deadline-string and org-scheduled-string
> > (see below)
> >
> > and I want to match tasks which have a timestamp, ie satisfies the
> > org-ts-regexp2
> >
> > BUT DO NOT  have org-deadline-string NOR org-scheduled-string
> >
> > I tried
> >
> >     (org2rem-pure-timestamps-string
> >           (concat  "\\(" org-deadline-string "\\|"
> >                org-scheduled-string  "\\)\\{0\\}"))
> >
> > in order that a regexp such as
> >
> > "\\(org-deadline-string\\|org-scheduled-string\\)\\{0\\}"
> >
> > would match only zero {0} occurrences of
> > (org-deadline-string|org-scheduled-string)
> > but this seems to be a mistake.
> >
> > Any hint??
>
> I can only suggest the empty regexp, as before:
>
>     (org2rem-pure-timestamps-string "")
>
> If this doesn't work, I don't know.
>
> Regards, Olaf
>

[-- Attachment #1.2: Type: text/html, Size: 2151 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2009-01-14  2:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  2:05 Daniel Martins [this message]
2009-01-17  8:16 ` Regexp problem: org-mode and remind integration Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ac505ad0901131805j2cb519c9i680e3a783422e753@mail.gmail.com \
    --to=danielemc@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=bastien.guerry@ens.fr \
    --cc=olaf+list.orgmode@olafdietsche.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).