Vaucanson  1.4.1
usual_escaped_characters.hxx
1 // usual_escaped_characters.hxx: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 The Vaucanson Group.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 //
12 // The complete GNU General Public Licence Notice can be found as the
13 // `COPYING' file in the root directory.
14 //
15 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
16 //
17 #ifndef VCSN_MISC_USUAL_ESCAPED_CHARACTERS_HXX
18 # define VCSN_MISC_USUAL_ESCAPED_CHARACTERS_HXX
19 
21 
22 namespace vcsn {
23  namespace misc {
24 
25  inline
26  std::set<char>
28  {
29  std::set<char> result;
30  result.insert ('.');
31  result.insert ('+');
32  result.insert ('*');
33  result.insert ('(');
34  result.insert (')');
35  result.insert ('\\');
36  result.insert (' ');
37  result.insert ('1');
38  result.insert ('0');
39  result.insert ('[');
40  result.insert (']');
41  return result;
42  }
43 
44  } // misc
45 } // vcsn
46 
47 #endif // ! VCSN_MISC_USUAL_ESCAPED_CHARACTERS_HXX