OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [ada/] [g-regpat.ads] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 281 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT LIBRARY COMPONENTS                          --
4
--                                                                          --
5
--                          G N A T . R E G P A T                           --
6
--                                                                          --
7
--                                 S p e c                                  --
8
--                                                                          --
9
--               Copyright (C) 1986 by University of Toronto.               --
10
--                     Copyright (C) 1996-2008, AdaCore                     --
11
--                                                                          --
12
-- GNAT is free software;  you can  redistribute it  and/or modify it under --
13
-- terms of the  GNU General Public License as published  by the Free Soft- --
14
-- ware  Foundation;  either version 2,  or (at your option) any later ver- --
15
-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
16
-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
17
-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
18
-- for  more details.  You should have  received  a copy of the GNU General --
19
-- Public License  distributed with GNAT;  see file COPYING.  If not, write --
20
-- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
21
-- Boston, MA 02110-1301, USA.                                              --
22
--                                                                          --
23
-- As a special exception,  if other files  instantiate  generics from this --
24
-- unit, or you link  this unit with other files  to produce an executable, --
25
-- this  unit  does not  by itself cause  the resulting  executable  to  be --
26
-- covered  by the  GNU  General  Public  License.  This exception does not --
27
-- however invalidate  any other reasons why  the executable file  might be --
28
-- covered by the  GNU Public License.                                      --
29
--                                                                          --
30
-- GNAT was originally developed  by the GNAT team at  New York University. --
31
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
32
--                                                                          --
33
------------------------------------------------------------------------------
34
 
35
--  This package implements roughly the same set of regular expressions as
36
--  are available in the Perl or Python programming languages.
37
 
38
--  This is an extension of the original V7 style regular expression library
39
--  written in C by Henry Spencer. Apart from the translation to Ada, the
40
--  interface has been considerably changed to use the Ada String type
41
--  instead of C-style nul-terminated strings.
42
 
43
--  See file s-regpat.ads for full documentation of the interface
44
 
45
------------------------------------------------------------
46
-- Summary of Pattern Matching Packages in GNAT Hierarchy --
47
------------------------------------------------------------
48
 
49
--  There are three related packages that perform pattern matching functions.
50
--  the following is an outline of these packages, to help you determine
51
--  which is best for your needs.
52
 
53
--     GNAT.Regexp (files g-regexp.ads/s-regexp.ads/s-regexp.adb)
54
--       This is a simple package providing Unix-style regular expression
55
--       matching with the restriction that it matches entire strings. It
56
--       is particularly useful for file name matching, and in particular
57
--       it provides "globbing patterns" that are useful in implementing
58
--       unix or DOS style wild card matching for file names.
59
 
60
--     GNAT.Regpat (files g-regpat.ads/s-regpat.ads/s-regpat.adb)
61
--       This is a more complete implementation of Unix-style regular
62
--       expressions, copied from the Perl regular expression engine,
63
--       written originally in C by Henry Spencer. It is functionally the
64
--       same as that library.
65
 
66
--     GNAT.Spitbol.Patterns (files g-spipat.ads/g-spipat.adb)
67
--       This is a completely general pattern matching package based on the
68
--       pattern language of SNOBOL4, as implemented in SPITBOL. The pattern
69
--       language is modeled on context free grammars, with context sensitive
70
--       extensions that provide full (type 0) computational capabilities.
71
 
72
with System.Regpat;
73
 
74
package GNAT.Regpat renames System.Regpat;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.