[logon] Mysterious problem with regexps in transfer rules
Stephan Oepen
oe at ifi.uio.no
Mon Nov 17 00:36:26 CET 2008
hi again, francis,
> > i am impressed you do consider "~(de:_jed_q_rel|de:_fast[+]jed_q_rel)"
> > concise :-). but i am afraid the behaviour you report is `correct': at
> > the start of transfer, for rule sets that were loaded with `:filter t',
> > all input predicates are compared (as strings) against the `dictionary'
> > of known INPUT predicates in that rule set. that test, currently, does
> > not take into account regular expressions (though it probably should).
[...]
> So that was why the following (in my snug) doesn't match.
>
> _d_ditch_ef := elision_mtr &
> [ INPUT.RELS < [ PRED "~^ja:.*_d_" ] > ].
>
> I need to move it into the non-filtered, post-transfer accommodation,
> where it works.
i fail to see how the pre-transfer input filter should prevent a rule
from matching? if anything, it would prevent transfer completely, and
give the `unknown transfer predicate' error.
but, as for the rule above, should it not just be "~^ja:.*_d_rel", or
maybe "~^ja:.*_d_.*"?
a little confused (and rather sleepy) - oe
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284 0125
+++ CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
+++ --- oe at ifi.uio.no; oe at csli.stanford.edu; stephan at oepen.net ---
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the logon
mailing list