[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: capture string
- From: francesco <francescoarmandoporta@...>
- Date: Mon, 03 Feb 2014 13:36:23 +0100
Hello All,
i know this is something simple, so apologies.
I'm trying to collect all the words, control character, digits, etc.
from a text file. Like example file i have a c source file so to have
many of the possible character.
For example with this string (line):
#include <sys/types.h>
I would like to have a collection (table) like this:
1, line = 1, type = control, value = #
2, line = 1, type = word, value = include
3, line = 1, type = control, value = >
etc.
My experiments until now are bad!
Any help is appreciated,
thanks,
ciao,
francesco.