Google Groupes n'accepte plus les nouveaux posts ni abonnements Usenet. Les contenus de l'historique resteront visibles.

[perl #37371] [PATCH] update for t/op/string_cs.t to find word boundaries

0 vue
Accéder directement au premier message non lu

Patrick R. Michaud

non lue,
16 nov. 2005, 12:09:0316/11/2005
à perl6-i...@perl.org
Attached is a patch that changes the "find word" test in string_cs.t
to use the find_cclass and find_not_cclass opcodes to locate word
boundaries.

This test doesn't work exactly the way Leo has envisioned it (creating
a special .CCLASS_* value for word boundaries), but it demonstrates
how I think PIR programmers will typically locate word boundaries.

Sent as a patch rather than applied directly to give others an
opportunity to review and comment.

Pm

find_word.patch
0 nouveau message