Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libstring-tokenizer-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libstring-tokenizer-perl  ]

套件: libstring-tokenizer-perl (0.06-1)

simple string tokenizer

String::Tokenizer is a simple string tokenizer which takes a string and splits it on whitespace. It also optionally takes a string of characters to use as delimiters, and returns them with the token set as well. This allows for splitting the string in many different ways.

This is a very basic tokenizer, so more complex needs should be either addressed with a custom written tokenizer or post-processing of the output generated by this module. Basically, this will not fill everyones needs, but it spans a gap between simple split / /, $string and the other options that involve much larger and complex modules.

Also note that this is not a lexical analyser. Many people confuse tokenization with lexical analysis. A tokenizer mearly splits its input into specific chunks, a lexical analyzer classifies those chunks. Sometimes these two steps are combined, but not here.

其他與 libstring-tokenizer-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libstring-tokenizer-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 13.1 kB36 kB [文件列表]