diff --git a/.gitignore b/.gitignore
index 86d2aff..7f4809e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,13 @@
*.pyc
*.pyo
*~
+*.rej
+*.orig
/.pc/
/build/
/debian/
/dist/
/MANIFEST
-/modules/*BA.py
-/modules/kodos_rc.py
+*BA.py
+kodos_rc.py
/translations/*.qm
-/translations/*.ts
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index faf4839..e5ecb14 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,5 +1,13 @@
Kodos ChangeLog
+2.5.2
+=====
+ *) First Python3 version , still using PyQt4, python3-PyQt4 is now required
+
+2.5.1
+=====
+ *) Migrated to PyQt4 completed using teythoon repo
+
2.4.9
=====
*) Fixed help window (corrects problem related to tooltip api changes)
diff --git a/MANIFEST.in b/MANIFEST.in
index dfa0425..8372b26 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -8,8 +8,8 @@ include screenshots/*.png
include MANIFEST.in
include LICENSE.txt
include README.txt
-include modules/*.ui
-include modules/*.py
+include kodos/*.ui
+include kodos/*.py
include windows/build.bat
include windows/installer.iss
include CHANGELOG.txt
diff --git a/Makefile b/Makefile
index d03d8b0..a6f9d90 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-all: modules/kodos_rc.py
- $(MAKE) -C modules
+all: kodos/kodos_rc.py
+ $(MAKE) -C kodos
pylupdate4 kodos.pro
$(MAKE) -C translations
clean:
- $(RM) -fv modules/kodos_rc.py
- $(MAKE) clean -C modules
+ $(RM) -fv kodos/kodos_rc.py
+ $(MAKE) clean -C kodos
-modules/kodos_rc.py: kodos.qrc
- pyrcc4 -o $@ $<
+kodos/kodos_rc.py: kodos.qrc
+ pyrcc4 -py3 -o $@ $<
diff --git a/PKG-INFO b/PKG-INFO
index c235842..f6a2b42 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,10 @@
Metadata-Version: 1.0
Name: kodos
-Version: 2.4.9
+Version: 2.5.2
Summary: Kodos is a visual regular expression editor
-Home-page: http://kodos.sourceforge.net
+Home-page: https://github.com/sergiomb2/kodos
Author: Phil Schwartz
Author-email: phil_schwartz@users.sourceforge.net
License: GPL
-Description:
- Kodos is a visual regular expression editor and debugger.
-
+Description: Kodos is a visual regular expression editor and debugger.
Platform: UNKNOWN
diff --git a/bin/kodos b/bin/kodos
new file mode 100755
index 0000000..9ddbf20
--- /dev/null
+++ b/bin/kodos
@@ -0,0 +1,60 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# kodos.py: -*- Python -*- DESCRIPTIVE TEXT.
+
+import sys
+import os
+import logging
+import optparse
+
+try:
+ from PyQt4 import QtGui
+ from PyQt4 import QtCore
+except:
+ sys.exit("""Could not locate the PyQt module. Please make sure that
+you have installed PyQt for the version of Python that you are running.""")
+
+from kodos.main import Kodos
+from kodos.util import findFile
+
+parser = optparse.OptionParser()
+parser.add_option('-f', '--filename', dest='filename',
+ help='Load filename on startup', metavar='FILE')
+parser.add_option('-d', '--debug', dest='debug', action='store_true',
+ help='Set log level to debug')
+parser.add_option('-k', dest='kodos_dir', type='string',
+ default=os.path.join(sys.prefix, "kodos"),
+ help='Set path containing Kodos images & help subdirs',
+ metavar='DIR')
+parser.add_option('-l', '--locale', dest='locale', type='string',
+ default='en',
+ help='2-letter locale', metavar='LEVEL')
+options, args = parser.parse_args()
+
+if options.debug:
+ logging.basicConfig(level=logging.DEBUG)
+else:
+ logging.basicConfig(level=logging.WARNING)
+log = logging.getLogger('kodos')
+
+os.environ['KODOS_DIR'] = options.kodos_dir
+
+qApp = QtGui.QApplication(sys.argv)
+qApp.setOrganizationName("kodos")
+qApp.setApplicationName("kodos")
+qApp.setOrganizationDomain("kodos.sourceforge.net")
+
+if options.locale != 'en':
+ localefile = "kodos_%s.qm" % (options.locale or QtCore.QTextCodec.locale())
+ localepath = findFile(os.path.join("translations", localefile))
+ log.debug('locale changed to: %s, file: %s, path: %s' % (locale,
+ localefile,
+ localepath))
+
+ translator = QtCore.QTranslator(qApp)
+ translator.load(localepath)
+ qApp.installTranslator(translator)
+
+kodos = Kodos(qApp, options.filename)
+kodos.show()
+sys.exit(qApp.exec_())
diff --git a/help/prefs.html b/help/prefs.html
index 06baaf2..793bfc3 100644
--- a/help/prefs.html
+++ b/help/prefs.html
@@ -77,12 +77,8 @@
Kodos - Help
Preferences
-Set your Web Browser path. You can use the ... button to use a file dialog to help locate your browser. The web browser is necessary to access external links within the Python Regex documentation.
-
The Editor Font allows you to select a desirable font for use within the Kodos editor
-The Email Server is required for sending bug reports to the author. You can submit a bug report under the main Help menu
-
You can control the number of Recent Files that are displayed at the bottom of the File menu. The default value is 5. To display more or less recent files, set this value accordingly. The recent file list is maintained independtly of this value such that applying a lower value and then a higher value will not purge entries. That is, if you have 10 files and then set this value to 3 and later set this value to 10, the 10 files will be immediately available for selection .
.*)""")
pos = 0
while 1:
@@ -59,8 +49,10 @@
pycode[m.end():]
+
+
+
fp = open(filename, "w")
fp.write(pycode)
fp.close()
-#-----------------------------------------------------------------------------#
diff --git a/setup.cfg b/setup.cfg
deleted file mode 100644
index 630e5fe..0000000
--- a/setup.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-[bdist_rpm]
-build_requires=PyQt4
-vendor = Kodos - Sourceforge
-packager = Phil Schwartz
-distribution-name = Red Hat Linux
-requires = python >= 2.4
-requires = PyQt >= 4.0
-build-requires = python-devel
-doc_files = README.txt LICENSE.txt
-
diff --git a/setup.py b/setup.py
index dd83955..822db89 100644
--- a/setup.py
+++ b/setup.py
@@ -1,23 +1,12 @@
#!/usr/bin/env python
-# -*- coding: utf-8; mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: 0 -*-
-# vi: set fileencoding=utf-8 filetype=python expandtab tabstop=4 shiftwidth=4 softtabstop=4 cindent:
-# :mode=python:indentSize=4:tabSize=4:noTabs=true:
-
-#-----------------------------------------------------------------------------#
-# Built-in modules
-
+# -*- coding: utf-8 -*-
+from kodos.version import VERSION
+from distutils.core import setup
+from distutils.command.build_py import build_py as _build_py
import os
import sys
from glob import glob
-from distutils.core import setup
-from distutils.command.install import install as DistutilsInstall
-
-#-----------------------------------------------------------------------------#
-# Kodos modules
-
-from modules.version import VERSION
-
-#-----------------------------------------------------------------------------#
+import subprocess
args = sys.argv[1:]
@@ -25,8 +14,7 @@
# libpath = '.\\'
libpath = r"lib\site-packages\kodos"
else:
- #libpath = "/usr/local/kodos" # 2.4.0 and prior
- libpath = "/usr/share/kodos" # as of 2.4.1
+ libpath = "/usr/share/kodos"
for arg in args:
if arg == "--formats=wininst":
@@ -37,15 +25,12 @@
HELP_PY_DIR = os.path.join(libpath, "help", "python")
IMAGES_DIR = os.path.join(libpath, "images")
SCREENSHOTS_DIR = os.path.join(libpath, "screenshots")
-MODULES_DIR = os.path.join(libpath, "modules")
TRANSLATIONS_DIR = os.path.join(libpath, "translations")
-class MyInstall(DistutilsInstall):
+class build_py(_build_py):
def run(self):
- os.system('make')
- DistutilsInstall.run(self)
-
-#-----------------------------------------------------------------------------#
+ subprocess.check_call(['make'])
+ _build_py.run(self)
setup(name="kodos",
version=VERSION,
@@ -53,22 +38,17 @@ def run(self):
author="Phil Schwartz",
author_email="phil_schwartz@users.sourceforge.net",
url="http://kodos.sourceforge.net",
- scripts=['kodos'],
- ##package_dir={'': 'modules'},
- packages=['modules', "."],
+ scripts=['bin/kodos'],
+ packages=['kodos'],
data_files=[(HELP_DIR, glob(os.path.join("help", "*.*ml"))),
(HELP_PY_DIR, glob(os.path.join("help", "python", "*.html"))),
(IMAGES_DIR, glob(os.path.join("images", "*.png"))),
(SCREENSHOTS_DIR, glob(os.path.join("screenshots", "*.png"))),
(TRANSLATIONS_DIR, glob(os.path.join("translations", "*"))),
- (MODULES_DIR, glob("modules/*.ui"))
],
license="GPL",
- extra_path='kodos',
long_description="""
Kodos is a visual regular expression editor and debugger.
""",
- cmdclass={'install':MyInstall},
+ cmdclass={'build_py': build_py},
)
-
-#-----------------------------------------------------------------------------#
diff --git a/translations/Makefile b/translations/Makefile
index 837efcf..e13ab4d 100644
--- a/translations/Makefile
+++ b/translations/Makefile
@@ -1,4 +1,4 @@
TSFILES := $(wildcard *.ts)
all: $(TSFILES)
- sed -i -e 's#\(filename="\)#\1../#g' $^
+ #sed -i -e 's#\(filename="\)#\1../#g' $^
diff --git a/translations/kodos_en.ts b/translations/kodos_en.ts
new file mode 100644
index 0000000..ac79649
--- /dev/null
+++ b/translations/kodos_en.ts
@@ -0,0 +1,1338 @@
+
+
+ AboutBA
+
+ About Kodos
+
+
+
+ &OK
+
+
+
+ About...
+
+
+
+ 0.8
+
+
+
+ Kodos
+
+Developed by: Phil Schwartz
+
+phil_schwartz@users.sourceforge.net
+
+
+
+ Version:
+
+
+
+
+ Kodos
+
+ Enter a regular expression and a string to match against
+
+
+
+ Kodos regex processing is paused. Click the pause icon to unpause
+
+
+
+ Pattern does not match
+
+
+
+ Pattern matches
+
+
+
+ found
+
+
+
+ match
+
+
+
+ matches
+
+
+
+ &No, Just Exit Kodos
+
+
+
+ A file was not selected for import
+
+
+
+ Could not open file for reading:
+
+
+
+ Open Kodos File
+
+
+
+ loaded successfully
+
+
+
+ Error reading from file:
+
+
+
+ Save Kodos File
+
+
+
+ No file selected to save
+
+
+
+ The file
+
+
+
+ already exists.
+
+
+
+ Would you like to replace it?
+
+
+
+ Replace file?
+
+
+
+ &Replace
+
+
+
+ &Cancel
+
+
+
+ Could not open file for writing:
+
+
+
+ successfully saved
+
+
+
+ &No
+
+
+
+ You have made changes
+
+
+
+ Would you like to save them before continuing
+
+
+
+ Save changes?
+
+
+
+ &Yes, Save Changes
+
+
+
+ There is no filename to revert
+
+
+
+ Failed to open url
+
+
+
+ No Update is Available
+
+
+
+ You are currently using the latest version of Kodos
+
+
+
+ There is a newer version of Kodos available.
+
+
+
+ You are using version:
+
+
+
+ The latest version is:
+
+
+
+ Press OK to launch browser
+
+
+
+ Kodos Update Available
+
+
+
+ Unable to get version info from Sourceforge
+
+
+
+ Unknown version available
+
+
+
+ Launching web browser
+
+
+
+ Cancelled web browser launch
+
+
+
+ You have made changes. Would you like to save them before continuing
+
+
+
+
+ KodosBA
+
+ Group #
+
+
+
+ Group Name
+
+
+
+ Match
+
+
+
+ Kodos - The Python Regex Debugger
+
+
+
+ Kodos
+
+
+
+ Flags
+
+
+
+ Ignore Case
+
+
+
+ Perform case-insensitive matching; expressions like [A-Z] will match
+lowercase letters, too. This is not affected by the current locale.
+
+
+
+ Multi Line
+
+
+
+ When specified, the pattern character "^" matches at the beginning of the
+string and at the beginning of each line (immediately following each newline);
+and the pattern character "$" matches at the end of the string and at the end
+of each line (immediately preceding each newline). By default, "^" matches
+only at the beginning of the string, and "$" only at the end of the string and
+immediately before the newline (if any) at the end of the string.
+
+
+
+ Dot All
+
+
+
+ Make the "." special character match any character at all, including a
+newline; without this flag, "." will match anything except a newline.
+
+
+
+ Verbose
+
+
+
+ This flag allows you to write regular expressions that look nicer. Whitespace
+within the pattern is ignored, except when in a character class or preceded by
+an unescaped backslash, and, when a line contains a "#" neither in a character
+class or preceded by an unescaped backslash, all characters from the leftmost
+such "#" through the end of the line are ignored.
+
+
+
+ Locale
+
+
+
+ Make \w, \W, \b, and \B dependent on the current locale.
+
+
+
+ Unicode
+
+
+
+ "Make \w, \W, \b, and \B dependent on the Unicode character properties
+database. New in Python version 2.0.
+
+
+
+ Regular Expression Pattern
+
+
+
+ Group
+
+
+
+ Match All
+
+
+
+ Replace
+
+
+
+ Sample Code
+
+
+
+ Search String
+
+
+
+ Replace String
+
+
+
+ Match Number
+
+
+
+ Replace Number
+
+
+
+ New
+
+
+
+ &New
+
+
+
+ Ctrl+N
+
+
+
+ Open
+
+
+
+ &Open...
+
+
+
+ Ctrl+O
+
+
+
+ Save
+
+
+
+ &Save
+
+
+
+ Ctrl+S
+
+
+
+ Save As
+
+
+
+ Save &As...
+
+
+
+ Exit
+
+
+
+ E&xit
+
+
+
+ Undo
+
+
+
+ &Undo
+
+
+
+ Ctrl+Z
+
+
+
+ Redo
+
+
+
+ &Redo
+
+
+
+ Ctrl+Y
+
+
+
+ Cut
+
+
+
+ &Cut
+
+
+
+ Ctrl+X
+
+
+
+ Copy
+
+
+
+ C&opy
+
+
+
+ Ctrl+C
+
+
+
+ Paste
+
+
+
+ &Paste
+
+
+
+ Ctrl+V
+
+
+
+ Examine Regex for Match
+
+
+
+ E&xamine Regex
+
+
+
+ Contents
+
+
+
+ &Contents...
+
+
+
+ Index
+
+
+
+ &Index...
+
+
+
+ About
+
+
+
+ &About
+
+
+
+ Action
+
+
+
+ Pause Processing
+
+
+
+ Ctrl+P
+
+
+
+ Preferences
+
+
+
+ Help
+
+
+
+ Ctrl+/
+
+
+
+ Python Regex Help
+
+
+
+ &Python Regex Help
+
+
+
+ Regex Reference Guide
+
+
+
+ &Regex Reference Guide
+
+
+
+ Ctrl+R
+
+
+
+ Visit Kodos Website
+
+
+
+ &Visit Kodos Website
+
+
+
+ Check for Kodos Update
+
+
+
+ &Check for Kodos Update
+
+
+
+ Report a Bug
+
+
+
+ Report a &Bug
+
+
+
+ Import File
+
+
+
+ Import &File
+
+
+
+ Import URL
+
+
+
+ Import &URL
+
+
+
+ Regex Library
+
+
+
+ Regex &Library
+
+
+
+ Open the Regex Library
+
+
+
+ Ctrl+L
+
+
+
+ Revert Kodos File
+
+
+
+ &Revert Kodos File
+
+
+
+ Tools
+
+
+
+ &File
+
+
+
+ &Edit
+
+
+
+ &Help
+
+
+
+
+ NewUserDialog
+
+ Kodos new user information
+
+
+
+ <h3>Welcome to Kodos.</h3>
+<p></p>
+It appears that this is your first time using
+Kodos - The Python Regular Expression Debugger.
+<p></p>
+In order to help you familiarize yourself with Kodos, you may wish to explore
+the Regex Library. Additionally, Kodos contains a Python Regex Reference Guide.
+You can access these tools by clicking on the appropriate toolbar icon.
+
+
+
+ <b>Regex Reference Guide</b>
+
+
+
+ <b>Regex Library</b>
+
+
+
+ &OK
+
+
+
+ Alt+O
+
+
+
+
+ PrefsBA
+
+ Preferences
+
+
+
+ ...
+
+
+
+ Recent Files:
+
+
+
+ Web Browser:
+
+
+
+ Email Server:
+
+
+
+ Editor Font:
+
+
+
+ &Help
+
+
+
+ &Apply
+
+
+
+ &OK
+
+
+
+ &Cancel
+
+
+
+
+ ReferenceBA
+
+ Symbol
+
+
+
+ Definition
+
+
+
+ Kodos - Regex Reference Guide
+
+
+
+ .
+
+
+
+ Matches any character
+
+
+
+ *
+
+
+
+ Matches 0 or more repetition of preceeding RE
+
+
+
+ +
+
+
+
+ Matches 1 or more repetition of preceeding RE
+
+
+
+ ?
+
+
+
+ Matches 0 or 1 repetition of preceeding RE
+
+
+
+ ^
+
+
+
+ Matches start of string
+
+
+
+ $
+
+
+
+ Matches the end of the string
+
+
+
+ \A
+
+
+
+ Matches only at the start of the string
+
+
+
+ \B
+
+
+
+ Matches the empty string, but only when it is not at the beginning or end of a word
+
+
+
+ \b
+
+
+
+ Matches the empty string, but only at the beginning or end of a word
+
+
+
+ \d
+
+
+
+ Matches any decimal digit
+
+
+
+ \D
+
+
+
+ Matches any non-digit character
+
+
+
+ \z
+
+
+
+ Matches only at the end of the string
+
+
+
+ \W
+
+
+
+ Matches any non-word
+
+
+
+ \w
+
+
+
+ Matches any word
+
+
+
+ \S
+
+
+
+ Matches any non-whitespace character
+
+
+
+ \s
+
+
+
+ Matches any whitespace character
+
+
+
+ \\
+
+
+
+ Matches a literal backslash
+
+
+
+ ??
+
+
+
+ Non-greedy ?
+
+
+
+ *?
+
+
+
+ Non-greedy *
+
+
+
+ +?
+
+
+
+ Non-greedy +
+
+
+
+ ()
+
+
+
+ Capturing Parenthesis
+
+
+
+ (?:)
+
+
+
+ Non-capturing Parenthesis
+
+
+
+ []
+
+
+
+ Character class
+
+
+
+ {m,n}
+
+
+
+ match from m to n repetitions of the preceding RE, attempting to match as many repetitions as possible.
+
+
+
+ {m,n}?
+
+
+
+ match from m to n repetitions of the preceding RE, attempting to match as few repetitions as possible.
+
+
+
+ (?P<name>...)
+
+
+
+ Similar to regular parentheses, but the substring matched by the group is accessible via the symbolic group name name.
+
+
+
+ (?P=name)
+
+
+
+ Matches whatever text was matched by the earlier group named name.
+
+
+
+ \number
+
+
+
+ Matches the contents of the group of the same number. Groups are numbered starting from 1.
+
+
+
+ (?<=...)
+
+
+
+ Matches if the current position in the string is preceded by a match for ... that ends at the current position. This is called a positive lookbehind assertion.
+
+
+
+ (?<!...)
+
+
+
+ Matches if the current position in the string is not preceded by a match for .... This is called a negative lookbehind assertion.
+
+
+
+ (?=...)
+
+
+
+ Matches if ... matches next, but doesn't consume any of the string. This is called a lookahead assertion.
+
+
+
+ (?!...)
+
+
+
+ Matches if ... doesn't match next. This is a negative lookahead assertion
+
+
+
+ (?#...)
+
+
+
+ A comment; the contents of the parentheses are simply ignored.
+
+
+
+ New
+
+
+
+ &New
+
+
+
+ Ctrl+N
+
+
+
+ Open
+
+
+
+ &Open...
+
+
+
+ Ctrl+O
+
+
+
+ Save
+
+
+
+ &Save
+
+
+
+ Ctrl+S
+
+
+
+ Save As
+
+
+
+ Save &As...
+
+
+
+ Print
+
+
+
+ &Print...
+
+
+
+ Ctrl+P
+
+
+
+ Exit
+
+
+
+ E&xit
+
+
+
+ Undo
+
+
+
+ &Undo
+
+
+
+ Ctrl+Z
+
+
+
+ Redo
+
+
+
+ &Redo
+
+
+
+ Ctrl+Y
+
+
+
+ Cut
+
+
+
+ &Cut
+
+
+
+ Ctrl+X
+
+
+
+ Copy
+
+
+
+ C&opy
+
+
+
+ Ctrl+C
+
+
+
+ Paste
+
+
+
+ &Paste
+
+
+
+ Paste selection into Kodos
+
+
+
+ Ctrl+V
+
+
+
+ Find
+
+
+
+ &Find...
+
+
+
+ Ctrl+F
+
+
+
+ Contents
+
+
+
+ &Contents...
+
+
+
+ Index
+
+
+
+ &Index...
+
+
+
+ About
+
+
+
+ &About
+
+
+
+ Help
+
+
+
+ &Help
+
+
+
+ Python Regex Help
+
+
+
+ &Python Regex Help
+
+
+
+ Tools
+
+
+
+ &File
+
+
+
+ &Edit
+
+
+
+
+ RegexLibraryBA
+
+ Kodos - Regex Library
+
+
+
+ Description
+
+
+
+ Regex
+
+
+
+ Contributed By:
+
+
+
+ Notes
+
+
+
+ Paste
+
+
+
+ &Paste Example Into Kodos
+
+
+
+ Paste This Example Into Kodos
+
+
+
+ Ctrl+V
+
+
+
+ Help
+
+
+
+ &Help
+
+
+
+ Ctrl+/
+
+
+
+ Exit
+
+
+
+ &Exit
+
+
+
+ Tools
+
+
+
+ &File
+
+
+
+ &Edit
+
+
+
+
+ URLDialogBA
+
+ Import URL
+
+
+
+ &Help
+
+
+
+ F1
+
+
+
+ &OK
+
+
+
+ &Cancel
+
+
+
+ Enter URL to import
+
+
+
+ http://kodos.sourceforge.net
+
+
+
+
+ reportBug
+
+ An email address is necessary so that the author can contact you. Your email address will not be used for any other purposes.
+
+
+
+ You must supply a valid email address
+
+
+
+ Bug report sent
+
+
+
+ Your bug report has been sent.
+
+
+
+ An exception occurred sending bug report
+
+
+
+
+ reportBugBA
+
+ Form1
+
+
+
+ Submit Bug Report
+
+
+
+ Cancel
+
+
+
+ Kodos State Information
+
+
+
+ Regular Expression:
+
+
+
+ Match String:
+
+
+
+ System Information
+
+
+
+ Operating System:
+
+
+
+ PyQt Version:
+
+
+
+ Python Version:
+
+
+
+ Comments
+
+
+
+ Comments:
+
+
+
+ Email address:
+
+
+
+
+ reportBugWindow
+
+ Report a Bug
+
+
+
+ &Close
+
+
+
+ &File
+
+
+
+
diff --git a/translations/kodos_pl.ts b/translations/kodos_pl.ts
new file mode 100644
index 0000000..43c31c2
--- /dev/null
+++ b/translations/kodos_pl.ts
@@ -0,0 +1,1359 @@
+
+
+ AboutBA
+
+ About Kodos
+ O programie Kodos
+
+
+ &OK
+ &OK
+
+
+ About...
+ O programie...
+
+
+ 0.8
+ 0.8
+
+
+ Kodos
+
+Developed by: Phil Schwartz
+
+phil_schwartz@users.sourceforge.net
+ Kodos
+
+Autor: Phil Schwartz
+
+phil_schwartz@users.sourceforge.net
+
+
+ Version:
+ Wersja:
+
+
+
+ Kodos
+
+ Enter a regular expression and a string to match against
+ Wpisz wyrażenie regularne i tekst do sprawdzenia
+
+
+ Kodos regex processing is paused. Click the pause icon to unpause
+ Przetwarzanie wyrażenia regularnego wstrzymane. Kliknij ponownie pauzę by wznowić.
+
+
+ Pattern does not match
+ Brak dopasowania
+
+
+ Pattern matches
+ Wzorzec pasuje
+
+
+ found
+ znaleziono
+
+
+ match
+ dopasowanie
+
+
+ matches
+ pasuje
+
+
+ &No, Just Exit Kodos
+ &Nie, zakończ program
+
+
+ A file was not selected for import
+ Nie wybrano pliku do importu
+
+
+ Could not open file for reading:
+ Pliku nie udało się otworzyć:
+
+
+ Open Kodos File
+ Otwórz plik Kodos
+
+
+ loaded successfully
+ załadowany
+
+
+ Error reading from file:
+ Błąd podczas odczytu pliku:
+
+
+ Save Kodos File
+ Zapisz plik Kodos
+
+
+ No file selected to save
+ Nie wybrano pliku do zapisu
+
+
+ The file
+ Plik
+
+
+ already exists.
+ już istnieje.
+
+
+ Would you like to replace it?
+ Zastąpić?
+
+
+ Replace file?
+ Czy zastąpić plik?
+
+
+ &Replace
+ Za&mień
+
+
+ &Cancel
+ &Anuluj
+
+
+ Could not open file for writing:
+ Nie można zapisać pliku:
+
+
+ successfully saved
+ zapisano
+
+
+ &No
+ &Nie
+
+
+ You have made changes
+ Zmieniono
+
+
+ Would you like to save them before continuing
+ Czy zapisać zmiany
+
+
+ Save changes?
+ Czy zapisać zmiany?
+
+
+ &Yes, Save Changes
+ Tak, zapi&sz
+
+
+ There is no filename to revert
+ Brak wcześniejszej nazwy pliku
+
+
+ Failed to open url
+ Nie udało się otworzyć URL
+
+
+ No Update is Available
+ Nie ma uaktualnień
+
+
+ You are currently using the latest version of Kodos
+ Używasz najnowszej wersji Kodos
+
+
+ There is a newer version of Kodos available.
+ Dostępna jest nowsza wersja Kodos.
+
+
+ You are using version:
+ Używasz wersji:
+
+
+ The latest version is:
+ Najnowsza wersja:
+
+
+ Press OK to launch browser
+ Naciśnij OK by uruchomić przeglądarkę
+
+
+ Kodos Update Available
+ Dostępne jest uaktualnienie Kodos
+
+
+ Unable to get version info from Sourceforge
+ Nie udało się pobrać wersji z SourceForge
+
+
+ Unknown version available
+ Dostępna wersja jest nieznana
+
+
+ Launching web browser
+ Uruchamianie przeglądarki
+
+
+ Cancelled web browser launch
+ Anulowano uruchomienie przeglądarki
+
+
+ You have made changes. Would you like to save them before continuing
+ Czy zachować wprowadzone zmiany
+
+
+
+ KodosBA
+
+ Group #
+ Grupa #
+
+
+ Group Name
+ Nazwa grupy
+
+
+ Match
+ Dopasowanie
+
+
+ Kodos - The Python Regex Debugger
+ Kodos - debugger wyrażeń regularnych dla Pythona
+
+
+ Kodos
+ Kodos
+
+
+ Flags
+ Flagi
+
+
+ Ignore Case
+ re.IGNORECASE
+
+
+ Perform case-insensitive matching; expressions like [A-Z] will match
+lowercase letters, too. This is not affected by the current locale.
+ Wyszukiwanie bez rozróżniania wielkości liter; wyrażenia jak [A-Z] będą pasować
+również do małych liter.Ustawienia regionalne nie mają wpływu na tę flagę.
+
+
+ Multi Line
+ re.MULTILINE
+
+
+ When specified, the pattern character "^" matches at the beginning of the
+string and at the beginning of each line (immediately following each newline);
+and the pattern character "$" matches at the end of the string and at the end
+of each line (immediately preceding each newline). By default, "^" matches
+only at the beginning of the string, and "$" only at the end of the string and
+immediately before the newline (if any) at the end of the string.
+ Z tym ustawieniam, znak "^" dopasowuje początek tekstu i początek każdej
+linii (po znaku nowego wiersza); z kolei znak "$" dopasowuje koniec tekstu i koniec
+każdej linii (przed znakiem nowego wiersza). Domyślnie "^" dopasowuje tylko
+początek tekstu, a "$" tylko koniec tekstu lub koniec wiersza, gdy tekst kończy się
+znakiem nowego wiersza.
+
+
+ Dot All
+ re.DOTALL
+
+
+ Make the "." special character match any character at all, including a
+newline; without this flag, "." will match anything except a newline.
+ Powoduje, że znak "." dopasowuje dowolny znak, włączając w to znak
+nowego wiersza. Domyślnie znak "." nie dopasowuje znaku nowego wiersza.
+
+
+ Verbose
+ re.VERBOSE
+
+
+ This flag allows you to write regular expressions that look nicer. Whitespace
+within the pattern is ignored, except when in a character class or preceded by
+an unescaped backslash, and, when a line contains a "#" neither in a character
+class or preceded by an unescaped backslash, all characters from the leftmost
+such "#" through the end of the line are ignored.
+ Z tym ustawieniem wyrażenia regularne są bardziej czytelne. Białe znaki we wzorcu
+są ignorowane wszędzie, poza klasami znaków i poza miejscami zabezpieczonymi
+odwrócomym ukośnikiem. Gdy we wzorcu wystąpi znak "#" poza deklaracją klasy znaków
+lub niezabezpieczony, wtedy wszystkie występujące po nim znaki są ignorowane.
+
+
+ Locale
+ re.LOCALE
+
+
+ Make \w, \W, \b, and \B dependent on the current locale.
+ Wzorce \w, \W, \b i \B zachowują się zgodnie z bieżącymi ustawieniami międzynarodowymi.
+
+
+ Unicode
+ re.UNICODE
+
+
+ "Make \w, \W, \b, and \B dependent on the Unicode character properties
+database. New in Python version 2.0.
+ Wzorce \w, \W, \b i \B zachowują się zgodnie z właśiwościami znaków Unicode.
+Nowość w Pythonie 2.0.
+
+
+ Regular Expression Pattern
+ Wyrażenie regularne
+
+
+ Group
+ Grupa
+
+
+ Match All
+ Wszystkie dopasowania
+
+
+ Replace
+ Zamiana
+
+
+ Sample Code
+ Przykładowy kod
+
+
+ Search String
+ Przeszukiwany tekst
+
+
+ Replace String
+ Zamieniany tekst
+
+
+ Match Number
+ Numer dopasowania
+
+
+ Replace Number
+ Numer zamiany
+
+
+ New
+ Nowy
+
+
+ &New
+ &Nowy
+
+
+ Ctrl+N
+ Ctrl+N
+
+
+ Open
+ Otwórz
+
+
+ &Open...
+ &Otwórz...
+
+
+ Ctrl+O
+ Ctrl+O
+
+
+ Save
+ Zapisz
+
+
+ &Save
+ Zapi&sz
+
+
+ Ctrl+S
+ Ctrl+S
+
+
+ Save As
+ Zapisza jako
+
+
+ Save &As...
+ Zapisz j&ako...
+
+
+ Exit
+ Koniec
+
+
+ E&xit
+ &Koniec
+
+
+ Undo
+ Cofnij
+
+
+ &Undo
+ &Cofnij
+
+
+ Ctrl+Z
+ Ctrl+Z
+
+
+ Redo
+ Ponów
+
+
+ &Redo
+ &Ponów
+
+
+ Ctrl+Y
+ Ctrl+Y
+
+
+ Cut
+ Wytnij
+
+
+ &Cut
+ W&ytnij
+
+
+ Ctrl+X
+ Ctrl+X
+
+
+ Copy
+ Kopiuj
+
+
+ C&opy
+ K&opiuj
+
+
+ Ctrl+C
+ Ctrl+C
+
+
+ Paste
+ Wklej
+
+
+ &Paste
+ &Wklej
+
+
+ Ctrl+V
+ Ctrl+V
+
+
+ Examine Regex for Match
+ Sprawdź wyrażenie regularne
+
+
+ E&xamine Regex
+ Sp&rawdź wyrażenie regularne
+
+
+ Contents
+ Zawartość
+
+
+ &Contents...
+ &Zawartość...
+
+
+ Index
+ Indeks
+
+
+ &Index...
+ &Indeks...
+
+
+ About
+ O programie
+
+
+ &About
+ &O programie
+
+
+ Action
+ Akcja
+
+
+ Pause Processing
+ Wstrzymaj
+
+
+ Ctrl+P
+ Ctrl+P
+
+
+ Preferences
+ Ustawienia
+
+
+ Help
+ Pomoc
+
+
+ Ctrl+/
+ Ctrl+/
+
+
+ Python Regex Help
+ Pomoc dla RE w Pythonie
+
+
+ &Python Regex Help
+ &Pomoc dla RE w Pythonie
+
+
+ Regex Reference Guide
+ Przewodnik po wyrażeniach regularnych
+
+
+ &Regex Reference Guide
+ P&rzewodnik po wyrażeniach regularnych
+
+
+ Ctrl+R
+ Ctrl+R
+
+
+ Visit Kodos Website
+ Odwiedź stronę domową Kodos
+
+
+ &Visit Kodos Website
+ Od&wiedź stronę Kodos
+
+
+ Check for Kodos Update
+ Sprawdź uaktualnienie Kodos
+
+
+ &Check for Kodos Update
+ &Sprawdź uaktualnienie Kodos
+
+
+ Report a Bug
+ Zgłoś błąd
+
+
+ Report a &Bug
+ Zgłoś &błąd
+
+
+ Import File
+ Importuj plik
+
+
+ Import &File
+ Importuj &plik
+
+
+ Import URL
+ Importuj URL
+
+
+ Import &URL
+ Importuj &URL
+
+
+ Regex Library
+ Biblioteka wyrażeń regularnych
+
+
+ Regex &Library
+ Bib&lioteka wyrażeń regularnych
+
+
+ Open the Regex Library
+ Otwórz bibliotekę wyrażeń regularnych
+
+
+ Ctrl+L
+ Ctrl+L
+
+
+ Revert Kodos File
+ Przywróć plik
+
+
+ &Revert Kodos File
+ P&rzywróć plik
+
+
+ Tools
+ Narzędzia
+
+
+ &File
+ &Plik
+
+
+ &Edit
+ &Edycja
+
+
+ &Help
+ P&omoc
+
+
+
+ NewUserDialog
+
+ Kodos new user information
+ Informacje o nowym uzytkowniku Kodos
+
+
+ <h3>Welcome to Kodos.</h3>
+<p></p>
+It appears that this is your first time using
+Kodos - The Python Regular Expression Debugger.
+<p></p>
+In order to help you familiarize yourself with Kodos, you may wish to explore
+the Regex Library. Additionally, Kodos contains a Python Regex Reference Guide.
+You can access these tools by clicking on the appropriate toolbar icon.
+ <h3>Witaj w programie Kodos.</h3>
+<p><p>
+Wygląda na to, że po raz pierwszy uruchamiasz Kodos -
+debugger wyrażeń regularnych Pythona.
+<p></p>
+Aby zapoznać się z programem Kodos, powinieneś przejrzeć bibliotekę wyrażeń
+regularnych. Dodatkowo Kodos posiada przewodnik po wyrażeniach regularnych.
+Aby uzyskać dostęp do tych narzędzi, kliknij odpowiednią ikonę na pasku narzędzi.
+
+
+ <b>Regex Reference Guide</b>
+ <b>Przewodnik po wyrażeniach regularnych</p>
+
+
+ <b>Regex Library</b>
+ <b>Biblioteka wyrażeń regularnych</b>
+
+
+ &OK
+ &OK
+
+
+ Alt+O
+ Alt+O
+
+
+
+ PrefsBA
+
+ Preferences
+ Ustawienia
+
+
+ ...
+ ...
+
+
+ Recent Files:
+ Ostatnio otwarte pliki:
+
+
+ Web Browser:
+ Przeglądarka WWW:
+
+
+ Email Server:
+ Serwer poczty:
+
+
+ Editor Font:
+ Czcionka edytora:
+
+
+ &Help
+ &Pomoc
+
+
+ &Apply
+ Za&twierdź
+
+
+ &OK
+ &OK
+
+
+ &Cancel
+ &Anuluj
+
+
+
+ ReferenceBA
+
+ Symbol
+ Symbol
+
+
+ Definition
+ Definicja
+
+
+ Kodos - Regex Reference Guide
+ Przewodnik po wyrażeniach regularnych
+
+
+ .
+ .
+
+
+ Matches any character
+ Dopasowuje dowolny znak
+
+
+ *
+ *
+
+
+ Matches 0 or more repetition of preceeding RE
+ Dopasowuje 0 lub więceń wystąpień poprzedzającego RE
+
+
+ +
+ +
+
+
+ Matches 1 or more repetition of preceeding RE
+ Dopasowuje 1 lub więceń wystąpień poprzedzającego RE
+
+
+ ?
+ ?
+
+
+ Matches 0 or 1 repetition of preceeding RE
+ Dopasowuje 0 lub 1 wystąpienie poprzedzającego RE
+
+
+ ^
+ ^
+
+
+ Matches start of string
+ Dopasowuje początek tekstu
+
+
+ $
+ $
+
+
+ Matches the end of the string
+ Dopasowuje koniec tekstu
+
+
+ \A
+ \A
+
+
+ Matches only at the start of the string
+ Dopasowuje wyłącznie na początku tekstu
+
+
+ \B
+ \B
+
+
+ Matches the empty string, but only when it is not at the beginning or end of a word
+ Dopasowuje pusty ciąg, ale tylko wtedy, gdy nie jest na początku lub na końcu słowa
+
+
+ \b
+ \b
+
+
+ Matches the empty string, but only at the beginning or end of a word
+ Dopasowuje pusty ciąg, ale tylko wtedy, gdy jest na początku lub na końcu słowa
+
+
+ \d
+ \d
+
+
+ Matches any decimal digit
+ Dopasowuje dowolną liczbę dziesiętną
+
+
+ \D
+ \D
+
+
+ Matches any non-digit character
+ Dopasowuje dowolny znak, nie będący liczbą
+
+
+ \z
+ \z
+
+
+ Matches only at the end of the string
+ Dopasowuje wyłącznie na końcu tekstu
+
+
+ \W
+ \W
+
+
+ Matches any non-word
+ Dopasowuje dowolny ciąg, nie będący słowem
+
+
+ \w
+ \w
+
+
+ Matches any word
+ Dopasowuje dowolne słowo
+
+
+ \S
+ \S
+
+
+ Matches any non-whitespace character
+ Dopasowuje dowolny znak poza białymi znakami
+
+
+ \s
+ \s
+
+
+ Matches any whitespace character
+ Dopasowuje dowolny biały znak
+
+
+ \\
+ \\
+
+
+ Matches a literal backslash
+ Dopasowuje odwrócony ukośnik
+
+
+ ??
+ ??
+
+
+ Non-greedy ?
+
+
+
+ *?
+
+
+
+ Non-greedy *
+
+
+
+ +?
+
+
+
+ Non-greedy +
+
+
+
+ ()
+
+
+
+ Capturing Parenthesis
+
+
+
+ (?:)
+
+
+
+ Non-capturing Parenthesis
+
+
+
+ []
+ []
+
+
+ Character class
+ Klasa znaków
+
+
+ {m,n}
+ {m,n}
+
+
+ match from m to n repetitions of the preceding RE, attempting to match as many repetitions as possible.
+
+
+
+ {m,n}?
+
+
+
+ match from m to n repetitions of the preceding RE, attempting to match as few repetitions as possible.
+
+
+
+ (?P<name>...)
+
+
+
+ Similar to regular parentheses, but the substring matched by the group is accessible via the symbolic group name name.
+
+
+
+ (?P=name)
+
+
+
+ Matches whatever text was matched by the earlier group named name.
+
+
+
+ \number
+ \liczba
+
+
+ Matches the contents of the group of the same number. Groups are numbered starting from 1.
+ Dopasowuje zawartość grupy o wskazanym numerze. Grupy są numerowane od 1.
+
+
+ (?<=...)
+
+
+
+ Matches if the current position in the string is preceded by a match for ... that ends at the current position. This is called a positive lookbehind assertion.
+
+
+
+ (?<!...)
+
+
+
+ Matches if the current position in the string is not preceded by a match for .... This is called a negative lookbehind assertion.
+
+
+
+ (?=...)
+
+
+
+ Matches if ... matches next, but doesn't consume any of the string. This is called a lookahead assertion.
+
+
+
+ (?!...)
+
+
+
+ Matches if ... doesn't match next. This is a negative lookahead assertion
+
+
+
+ (?#...)
+ (?#...)
+
+
+ A comment; the contents of the parentheses are simply ignored.
+ Komentarz, zawartość w nawiasach jest ignorowana.
+
+
+ New
+ Nowy
+
+
+ &New
+ &Nowy
+
+
+ Ctrl+N
+ Ctrl+N
+
+
+ Open
+ Otwórz
+
+
+ &Open...
+ &Otwórz...
+
+
+ Ctrl+O
+ Ctrl+O
+
+
+ Save
+ Zapisz
+
+
+ &Save
+ Zapi&sz
+
+
+ Ctrl+S
+ Ctrl+S
+
+
+ Save As
+ Zapisz jako
+
+
+ Save &As...
+ Zapisz j&ako...
+
+
+ Print
+ Drukuj
+
+
+ &Print...
+ &Drukuj...
+
+
+ Ctrl+P
+ Ctrl+P
+
+
+ Exit
+ Koniec
+
+
+ E&xit
+ &Koniec
+
+
+ Undo
+ Cofnij
+
+
+ &Undo
+ &Cofnij
+
+
+ Ctrl+Z
+ Ztrl+Z
+
+
+ Redo
+ Ponów
+
+
+ &Redo
+ &Ponów
+
+
+ Ctrl+Y
+ Ctrl+Y
+
+
+ Cut
+ Wytnij
+
+
+ &Cut
+ &Wytnij
+
+
+ Ctrl+X
+ Ctrl+X
+
+
+ Copy
+ Kopiuj
+
+
+ C&opy
+ K&opiuj
+
+
+ Ctrl+C
+ Ctrl+C
+
+
+ Paste
+ Wklej
+
+
+ &Paste
+ W&klej
+
+
+ Paste selection into Kodos
+ Wklej wybór do Kodos
+
+
+ Ctrl+V
+ Ctrl+V
+
+
+ Find
+ Znajdź
+
+
+ &Find...
+ &Znajdź...
+
+
+ Ctrl+F
+ Ctrl+F
+
+
+ Contents
+ Zawartość
+
+
+ &Contents...
+ &Zawartość...
+
+
+ Index
+ Indeks
+
+
+ &Index...
+ &Indeks...
+
+
+ About
+ O programie
+
+
+ &About
+ &O programie
+
+
+ Help
+ Pomoc
+
+
+ &Help
+ P&omoc
+
+
+ Python Regex Help
+ Pomoc do wyrażeń regularnych w Pythonie
+
+
+ &Python Regex Help
+ &Pomoc do RE Pythona
+
+
+ Tools
+ Narzędzia
+
+
+ &File
+ &Plik
+
+
+ &Edit
+ &Edycja
+
+
+
+ RegexLibraryBA
+
+ Kodos - Regex Library
+ Kodos - Biblioteka wyrażeń regularnych
+
+
+ Description
+ Opis
+
+
+ Regex
+ Wyrażenie regularne
+
+
+ Contributed By:
+ Autor:
+
+
+ Notes
+ Uwagi
+
+
+ Paste
+ Wklej
+
+
+ &Paste Example Into Kodos
+ &Wklej przykład do Kodos
+
+
+ Paste This Example Into Kodos
+ Wklej ten przykład do Kodos
+
+
+ Ctrl+V
+ Ctrl+V
+
+
+ Help
+ Pomoc
+
+
+ &Help
+ &Pomoc
+
+
+ Ctrl+/
+ Ctrl+/
+
+
+ Exit
+ Zamknij
+
+
+ &Exit
+ Z&amknij
+
+
+ Tools
+ Narzędzia
+
+
+ &File
+ &Plik
+
+
+ &Edit
+ &Edycja
+
+
+
+ URLDialogBA
+
+ Import URL
+ Importuj URL
+
+
+ &Help
+ &Pomoc
+
+
+ F1
+ F1
+
+
+ &OK
+ &OK
+
+
+ &Cancel
+ &Anuluj
+
+
+ Enter URL to import
+ Wpisz URL do zaimportowania
+
+
+ http://kodos.sourceforge.net
+ http://kodos.sourceforge.net
+
+
+
+ reportBug
+
+ An email address is necessary so that the author can contact you. Your email address will not be used for any other purposes.
+ Adres poczty elektroniczne jest konieczny, by autor programu mógł się z Tobą skontaktować. Podany adres nie zostanie użyty w żadnym innym celu.
+
+
+ You must supply a valid email address
+ Musisz podać działający adres poczty elektronicznej
+
+
+ Bug report sent
+ Zgłoszenie błedu zostało wysłane
+
+
+ Your bug report has been sent.
+ Twoje zgłoszenie błędu zostało wysłane.
+
+
+ An exception occurred sending bug report
+ Podczas wysyłania wystąpił błąd
+
+
+
+ reportBugBA
+
+ Form1
+ Form1
+
+
+ Submit Bug Report
+ Wyślij zgłoszenie błędu
+
+
+ Cancel
+ Anuluj
+
+
+ Kodos State Information
+ Informacja o stanie Kodos
+
+
+ Regular Expression:
+ Wyrażenie regularne:
+
+
+ Match String:
+ Przeszukiwany tekst:
+
+
+ System Information
+ Informacja o systemie
+
+
+ Operating System:
+ System operacyjny:
+
+
+ PyQt Version:
+ Wersja PyQt:
+
+
+ Python Version:
+ Wersja Pythona:
+
+
+ Comments
+ Uwagi
+
+
+ Comments:
+ Uwagi:
+
+
+ Email address:
+ Adres email:
+
+
+
+ reportBugWindow
+
+ Report a Bug
+ Zgłoś błąd
+
+
+ &Close
+ &Zamknij
+
+
+ &File
+ &Plik
+
+
+