One embodiment of the invention relates to communications and computer systems, especially computers, routers, packet switching systems, and other devices; more particularly, one embodiment relates to regular expression matching of a sequence of characters using a pipeline architecture of regular expression matching stages, which may be particularly useful in certain in computer and communications