摘要:
<!DOCTYPE html> <html lang="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <head> <title>回调函数示例</title> <style type="tex 阅读全文
posted @ 2021-12-22 22:03
逆火狂飙
阅读(122)
评论(0)
推荐(0)
摘要:
需求: 输入sql,判断其是否查询语句,检查规则是:select开头,sql中不允许有insert、delete和update的出现。 程序: package test; public class SelectMatch { public static void main(String[] args 阅读全文
posted @ 2021-12-22 20:38
逆火狂飙
阅读(4950)
评论(9)
推荐(0)
摘要:
正则表达式常用来制作模式,然后看字符串是否符合这个模式,殊不知正则也可以进行不该出现的字符串的匹配,请看程序: package test; public class RegNotIn { public static void main(String[] args) { String[] arr= { 阅读全文
posted @ 2021-12-22 20:17
逆火狂飙
阅读(751)
评论(0)
推荐(0)