CotEditor is a open sourced, Cocoa-based plain text editor for OS X. It supports syntax highlighting, powerful find and replace with OniGmo (regular expression engine) and other small goodies for coding. It can handle also CJK languages well.  