[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{} operators don't work with match
From: |
Ratcliffe, Jeffrey (Peters) |
Subject: |
{} operators don't work with match |
Date: |
Thu, 20 Oct 2005 17:36:33 +0200 |
Hi,
In GNU Awk 3.1.1 on Fedora 3, if I try:
echo "-6410" | gawk '{match($0, /-.*(.{1,3})..$/, arr);print arr[1]}'
I get nothing, when I would expect "64". match seems not to like the {}
operator.
Or have I misunderstood something?
Regards
Jeff Ratcliffe
- {} operators don't work with match,
Ratcliffe, Jeffrey (Peters) <=