react-string-replace icon indicating copy to clipboard operation
react-string-replace copied to clipboard

A simple way to safely do string replacement with React components

Results 31 react-string-replace issues
Sort by recently updated
recently updated
newest added

Currently, index value returns odd values only (1,3,5,7...), and not values that one generally expects (0,1,2,3...). This patch fixes that.

![code-problem](https://user-images.githubusercontent.com/55022071/193503042-ab88fac1-8fd2-4f50-9bc4-7c234d22e885.png) result : reactStringReplace output not working '/r' in array[2] image above ![results](https://user-images.githubusercontent.com/55022071/193503124-119d8665-b650-4453-afb3-dedaf7d10f7b.png)

Here is an example how it could works ```tsx import * as React from "react"; import { ReactStringReplace, ReactStringReplaceRules } from "react-string-replace"; function App() { const rules: ReactStringReplaceRules = [...

per react: /** * @deprecated Use either `ReactNode[]` if you need an array or `Iterable` if its passed to a host component. */ Possible to refactor?

I needed to do single replacements using this library and found this issue reporting someone else trying to do the same thing: https://github.com/iansinnott/react-string-replace/issues/45 I've made this change.

I have this string: `let text = "{form 1} {form 2} {form 1:3}";` and this regexp: `/{form (\d+(:\d+)?)}/g` that should match {form x} and {form x:y} I am executing: ``text...

For example, /(“|")[^(”|")]+(”|")[⁰¹²³⁴⁵⁶⁷⁸⁹]+|[⁰¹²³⁴⁵⁶⁷⁸⁹]+|\S+[⁰¹²³⁴⁵⁶⁷⁸⁹]+/gm doesn't select the correct text

Bumps [is-url](https://github.com/segmentio/is-url) from 1.2.2 to 1.2.4. Commits d204828 1.2.4 a524d7f Merge pull request #20 from davisjam/FixUndef b33cac4 handle undefined string 8585fac Merge pull request #23 from segmentio/fix-tests e572e5d add travis...

dependencies

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.14 to 0.7.33. Changelog Sourced from ua-parser-js's changelog. Version 0.7.33 / 1.0.33 Add new browser : Cobalt Identify Macintosh as an Apple device Fix ReDoS vulnerability Version...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.3.0 to 6.3.3. Changelog Sourced from qs's changelog. 6.3.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] fix for an impossible situation: when the formatter is called with...

dependencies