Commit Graph

188 Commits

Author SHA1 Message Date
Adam Strzelecki
2dcaa75e2d Fixup: Reverted TZipFileStream name change
This fixes broken b0469c11e3 that incompletely
reverted TZipFileStream name change.
2015-06-05 12:44:28 +02:00
Perelandric
b0469c11e3 Reverted TZipFileStream name change 2015-06-04 13:18:41 +02:00
pdw
ea03fc6886 lib/impure - Dropped 'T' from types 2015-06-04 13:17:09 +02:00
Koala Zen
d620f566b2 Fix comment in re 2015-05-06 09:09:36 -07:00
def
ffad2be237 Make zipfiles module work again
Also adds an example usage to the module
2015-05-03 14:22:49 +02:00
def
e5a186a419 Fix Termios wrapper 2015-04-24 19:41:12 +02:00
Oleh Prypin
32109a7867 Don't run non-test code when defined(testing) 2015-04-21 14:37:29 +03:00
Andreas Rumpf
1b80e2f296 Merge pull request #2506 from BlaXpirit/update-pcre
Update and improve PCRE wrapper
2015-04-21 08:58:28 +02:00
Andreas Rumpf
97cb0eb694 Merge pull request #2560 from BlaXpirit/re-nre-hint
Add a hint about NRE library to 're' module
2015-04-15 17:32:21 +02:00
Oleh Prypin
aa327efa98 Add a hint about NRE to 're' module 2015-04-14 23:26:53 +03:00
Oleh Prypin
ff25c1272f Deprecate constant regular expression strings 2015-04-14 22:30:21 +03:00
Oleh Prypin
fd8c6d0a32 Fix deprecation warnings in re 2015-04-10 16:12:54 +03:00
Andreas Rumpf
2b8f8bbf19 Merge pull request #2502 from def-/pcre
Fix infinite loop in re.findAll
2015-04-10 01:16:01 +02:00
def
69d38f82a5 Fix infinite loop in findAll 2015-04-09 17:22:44 +02:00
def
ce0c4a8b58 Clean up re module a bit 2015-04-09 17:22:33 +02:00
Joseph Turner
7ee6c72b51 Adds test case to is isMainModule block
Adds the test case that originally caused the bug, issue #2418.
2015-04-08 21:58:31 +01:00
Joseph Turner
13e5a9ea6c Fixes matching error #2418
Fixes the split iterator, the main problem was with the incrementation
of 'last'. Last was first incremented to the index of the first
character after the match, but was then incremented again at the
beginning of the while loop. This caused a problem if that character
after the first match, also matched the regular expression.
2015-04-08 17:00:28 +01:00
Andreas Rumpf
d7c39dd801 Merge pull request #2357 from reactormonk/zero-length-match
re.match returns true on zero-length match #2354
2015-03-22 08:58:06 +01:00
Simon Hafner
26749de828 re.match returns true on zero-length match #2354 2015-03-16 15:05:02 -05:00
KeMeGe
171d51a08c move database encoding options to setEncoding(), leave open() as it is 2015-03-16 13:53:38 +08:00
KeMeGe
ca8102b96d Add character set options when opening DB connection 2015-03-14 15:21:38 +08:00
Dominik Picheta
d6c957e9b4 Removed osinfo_* modules.
They will be available under the 'osinfo' Nimble package.
2015-03-12 23:40:58 +00:00
Araq
1efb5174f2 fixes #2220; #2219; breaks #2022; for #2022 callsite needs to be used 2015-03-10 12:32:46 +01:00
Araq
419199bf9a don't use conio.h on windows (#2137) 2015-03-08 14:45:06 +01:00
Andreas Rumpf
1ca2db0273 Merge pull request #2260 from oderwat/upd-deprecated-repeats
Updates to remove deprecated repeatStr() and repeatChar() from all files.
2015-03-04 16:42:13 +01:00
Johanna Berewinkel
12e4a62b44 Fixed examples in the documentation of module re (proc replace and proc replacef) 2015-03-04 09:05:30 +01:00
Hans Raaf
58186f6c1d Replaced deprecated repeatChar() with repeat() or spaces(). 2015-03-04 03:30:43 +01:00
Andreas Rumpf
1d65cd277e Merge pull request #2095 from def-/rdstdin-winfix
Fix readPasswordFromStdin for Windows
2015-02-12 16:15:50 +01:00
Hans Raaf
ceffdebebb Corrected warnings about deprecated names
I got warning about deprecated names here. I also know that other names probably need to change (T/P prefixes) but I am unsure about the exact rules. I may do that later if you like.
2015-02-11 21:38:55 +01:00
def
d6d152e451 Add a new line after readPasswordFromStdin, add result 2015-02-09 08:06:56 +01:00
def
18fb3a391c Fix readPasswordFromStdin for Windows 2015-02-08 22:53:49 +01:00
Araq
008b0f19bb 'nimsuggest' compiles again 2015-02-08 15:47:55 +01:00
def
dcd23ae1f1 Add readPasswordFromStdin to rdstdin 2015-02-03 17:51:15 +01:00
Araq
a6082b2a20 slightly better docs for re module 2015-02-01 11:58:40 +01:00
Araq
bb3dae3a91 osinfo_win compiles again 2015-01-18 16:04:02 +01:00
Araq
a41b62da97 fixes #1866 2015-01-10 23:52:29 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
astrolantique
c77176e0c7 Added NT 6.2 and NT 6.3 (8/8.1) 2014-12-30 00:24:32 -06:00
astrolantique
32af9f878b getSystemVersion updated to include 10.7 to 10.10 2014-12-29 19:44:44 -06:00
Araq
280fa9624c fixes #1496 2014-12-18 14:54:26 +01:00
Araq
994f7c1f0b changed formating 2014-12-08 19:49:20 +01:00
Araq
0a2296b123 added module fenv's docs 2014-11-04 07:47:31 +01:00
Araq
adad2d5f4a Merge branch 'devel' into bigbreak
Conflicts:
	lib/impure/db_postgres.nim
	lib/pure/json.nim
	lib/pure/math.nim
	lib/system/atomics.nim
2014-11-03 11:42:36 +01:00
Andreas Rumpf
a0ecfd19be Merge pull request #1448 from def-/posix-math
Add -lm for fesetround and fegetround
2014-11-03 01:58:50 +01:00
Flaviu Tamas
218cb7587a re module returns nil on failed captures
- tests included
- news.txt updated
2014-10-29 17:54:43 -04:00
Araq
7a48942719 nicer error messages (untested) 2014-10-26 19:54:43 +01:00
Milos Negovanovic
2a203e5340 Add comment. 2014-10-21 15:56:00 +01:00
Milos Negovanovic
11a2cfb306 Add comment. 2014-10-21 15:55:02 +01:00
Milos Negovanovic
f5cd0a63ad Merge branch 'devel' of github.com:Araq/Nimrod into devel 2014-10-21 15:29:25 +01:00
Araq
c7570dcd3e Merge branch 'devel' into bigbreak
Conflicts:
	compiler/ast.nim
	compiler/nimfix/prettybase.nim
	compiler/pragmas.nim
	compiler/sempass2.nim
	doc/manual.txt
	koch.nim
	lib/pure/concurrency/threadpool.nim
	web/news.txt
2014-10-13 08:26:24 +02:00