是否存在一种现有的PL/SQL方法,它接受一个字符串并返回相同的字符串,但在任何正则表达式字符之前加上反斜杠?
PL/SQL 函数返回转义了 regexp 特殊字符的字符串
原标题:
最佳回答
试试看:
result := REGEXP_REPLACE(subject, ([$^[()+*?{|]) , \1 , 1, 0, c );
问题回答
暂无回答
相关问题
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding