BUJSInjectorRule.h 574 B

1234567891011121314151617181920212223
  1. //
  2. // BUJSInjectorRule.h
  3. // BURexxar
  4. //
  5. // Created by muhuai on 2017/6/17.
  6. // Copyright © 2017年 muhuai. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface BUJSInjectorRule : NSObject
  11. @property (nonatomic, copy) NSString *script;
  12. @property (nonatomic, copy) NSString *regex;
  13. @property (nonatomic, copy) NSString *key;
  14. @property (nonatomic, strong, readonly) NSRegularExpression *regExpression;
  15. + (instancetype)ruleWithScript:(NSString *)script withRegex:(NSString *)regex key:(NSString *)key;
  16. @end
  17. NS_ASSUME_NONNULL_END