Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
526 B

  1. s;^[a-zA-Z]:\\;;
  2. s;^[^:]*:;;
  3. s;[ ][ ]*; ;g
  4. s;\(.\)\/\/.*;\1;
  5. s; $;;
  6. s;^ ;;
  7. s;^\/\/;';
  8. s; TEXT(\(["'].*["']\)); \1;
  9. s; ( *\(-*[0-9][xX0-9a-fA-F]*\) *); \1;
  10. s;\<L\(["']\);\1;
  11. /(/d
  12. /\\$/d
  13. s;^const WCHAR \([a-zA-Z][a-zA-Z0-9_]*\)\[ *\] = L\(".*"\)\;$;Public Const \1 As String = \2;
  14. s;^#define \([a-zA-Z][a-zA-Z0-9_]*\) \(-*[0-9][xX0-9a-fA-F]*\)$;Public Const \1 As Long = \2;
  15. s;^#define \([a-zA-Z][a-zA-Z0-9_]*\) L*\(".*"\)$;Public Const \1 As String = \2;
  16. s; = 0[xX]; = \&H;
  17. /^'/!{
  18. /^Public Const /!d
  19. }